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

24 lines
449 B
Plaintext
Raw Normal View History

%h2
2018-02-11 18:06:32 +01:00
%em.fa.fa-trash-alt
= 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'
2018-02-11 18:06:32 +01:00
.actions
= link_to @orga do
%em.fa.fa-arrow-left
= t '.ko'
= f.button do
%em.fa.fa-check
= t '.ok'
%fieldset
%legend= Orga.model_name.human
= render file: '/orgas/show'