agenda-libre-ruby/app/views/moderations/validate.html.haml

17 lines
375 B
Plaintext
Raw Normal View History

%h2
%em.fa.fa-thumbs-up
2014-07-01 15:50:39 +02:00
=t '.title'
%fieldset
- if @event.locality?
%h2.warning=t '.warning'
2014-07-01 15:50:39 +02:00
%h2=t '.question'
= form_for @moderation, url: { action: :accept }, html: { method: :put } do |f|
= f.submit t('.ok'), name: :yes
= link_to t('.ko'), moderations_url, class: :button
%fieldset
%legend=Event.model_name.human
= render file: '/events/show'