A calendar management project, for events and activities related to communities fighting for freedoms.
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
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.
 
 
 

27 lines
548 B

%h2
%em.fa.fa-trash-alt
= 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
.actions
= link_to @event do
%em.fa.fa-arrow-left
= t '.ko'
= f.button do
%em.fa.fa-check
= t '.ok'
%fieldset
%legend= Event.model_name.human
= render template: '/events/show'