agenda-libre-ruby/app/views/events/cancel.html.haml

22 lines
360 B
Plaintext

%h3
>>>
=t '.title'
.box
- if @event.moderated?
%h3=t '.already_moderated'
= form_for @event, method: :delete do |f|
= hidden_field_tag :secret, params[:secret]
.confirm=t '.confirm'
%br/
= f.submit t('.ok'), name: :yes
= link_to t('.ko'), @event, class: :button
%h3
>>>
=t '.preview'
.box= render file: '/events/show'