]> git.openstreetmap.org Git - rails.git/blob - app/views/redactions/show.html.erb
Temporary fix to avoid showing emails
[rails.git] / app / views / redactions / show.html.erb
1 <% @title = t('redaction.show.title') %>
2 <% content_for :heading do %>
3   <h1><%= t('redaction.show.heading', :title => @redaction.title) %></h1>
4 <% end %>
5
6 <p>
7   <b><%= t 'redaction.show.user' %></b>
8   <%= link_to(@redaction.user.display_name, {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %>
9 </p>
10 <p class="richtext">
11   <b><%= t 'redaction.show.description' %></b>
12   <%= @redaction.description.to_html %>
13 </p>
14
15 <% if @user and @user.moderator? %>
16 <div class="buttons">  
17   <%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
18   <%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %>
19 </div>
20 <% end %>