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

19 lines
382 B
Plaintext

%h2
%em.fa.fa-trash-o
= t '.title'
- if @orga.moderated?
%h3.warning= t '.already_moderated'
%fieldset
= form_for @orga, method: :delete do |f|
= hidden_field_tag :secret, params[:secret]
%h2= t '.confirm'
= f.submit t('.ok'), name: :yes
= link_to t('.ko'), @orga, class: :button
%fieldset
%legend= Orga.model_name.human
= render file: '/orgas/show'