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

23 lines
421 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
= form_for @moderation, url: { action: :accept }, html: { method: :put } do |f|
%h2=t '.question'
= link_to moderations_url do
%em.fa.fa-arrow-left
=t '.ko'
= f.button do
%em.fa.fa-thumbs-up
=t '.ok'
2014-07-01 15:50:39 +02:00
%fieldset
%legend=Event.model_name.human
= render file: '/events/show'