]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entries/unsubscribe.html.erb
Don't show unredacted element versions to non-moderators
[rails.git] / app / views / diary_entries / unsubscribe.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".heading", :user => @diary_entry.user.display_name %></h1>
3 <% end %>
4
5 <%= render :partial => "diary_entry_heading", :object => @diary_entry, :as => "diary_entry" %>
6
7 <%= bootstrap_form_tag do |f| %>
8   <% if params[:referer] -%>
9   <%= f.hidden_field :referer, :value => params[:referer] %>
10   <% end -%>
11   <%= f.primary t(".button") %>
12 <% end %>