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

23 lines
432 B
Plaintext

%h2
%em.fa.fa-thumbs-up
=t '.title'
%fieldset
- if @event.locality?
%h2.warning=t '.warning'
= 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 name: :yes do
%em.fa.fa-thumbs-up
=t '.ok'
%fieldset
%legend=Event.model_name.human
= render file: '/events/show'