2006-06-28 22:11:03 +04:00
|
|
|
<h2><%= @news.title %></h2>
|
|
|
|
|
2006-12-01 01:17:44 +03:00
|
|
|
<p><em><%= @news.summary %><br />
|
|
|
|
<%= @news.author.display_name %>, <%= format_time(@news.created_on) %></em></p>
|
|
|
|
<br />
|
2006-11-12 21:50:30 +03:00
|
|
|
<%= textilizable auto_link @news.description %>
|
2006-09-02 17:33:23 +04:00
|
|
|
|
2006-12-01 01:17:44 +03:00
|
|
|
<div style="float:right;">
|
2006-09-02 17:33:23 +04:00
|
|
|
<% if authorize_for('news', 'destroy') %>
|
|
|
|
<%= start_form_tag ({:controller => 'news', :action => 'destroy', :id => @news}) %>
|
|
|
|
<%= submit_tag l(:button_delete) %>
|
|
|
|
<%= end_form_tag %>
|
|
|
|
<% end %>
|
2006-12-01 01:17:44 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= link_to_if_authorized l(:button_edit), :controller => 'news', :action => 'edit', :id => @news %>
|