agenda-libre-ruby/app/views/events/edit.html.haml

21 lines
287 B
Plaintext
Raw Normal View History

%h2
%em.fa.fa-pencil
=t '.title'
2013-12-28 23:45:13 +01:00
- if @event.moderated?
%h3.warning
%em.fa.fa-warning
=t '.warning'
2013-12-28 23:45:13 +01:00
%fieldset
%legend
%em.fa.fa-eye
=t '.preview'
= render file: '/events/show'
%fieldset
%legend
%em.fa.fa-pencil
=t '.edit'
= render '/events/form'