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