23 lines
477 B
Plaintext
23 lines
477 B
Plaintext
%h2
|
|
%em.fa.fa-trash-o
|
|
= t '.title'
|
|
|
|
- if @event.moderated?
|
|
%h3.warning= t '.already_moderated'
|
|
|
|
%fieldset
|
|
= form_for @event, method: :delete do |f|
|
|
= hidden_field_tag :secret, params[:secret]
|
|
%h2= t '.confirm'
|
|
|
|
.field.reason
|
|
= f.label :reason
|
|
= f.text_area :reason, cols: 40, rows: 5
|
|
|
|
= f.submit t('.ok'), name: :yes
|
|
= link_to t('.ko'), @event, class: :button
|
|
|
|
%fieldset
|
|
%legend= Event.model_name.human
|
|
= render file: '/events/show'
|