You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
548 B

= t '.title'
- if @event.moderated?
%h3.warning= t '.already_moderated'
= form_for @event, method: :delete do |f|
= hidden_field_tag :secret, params[:secret]
%h2= t '.confirm'
= f.label :reason
= f.text_area :reason, cols: 40, rows: 5
= link_to @event do
= t '.ko'
= f.button do
= t '.ok'
%legend= Event.model_name.human
= render template: '/events/show'