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

25 lines
334 B
Plaintext
Raw Normal View History

%h2
2018-02-11 18:06:32 +01:00
%em.fa.fa-edit
= title t '.title'
2013-12-28 23:45:13 +01:00
- if @event.description
%fieldset
%legend
%em.fa.fa-eye
2018-02-11 18:06:32 +01:00
= t '.preview'
= render template: '/events/show'
2014-01-06 11:22:39 +01:00
- else
:markdown
#{t '.subtitle'}
#advises
:markdown
#{t '.advises'}
%fieldset
%legend
%em.fa.fa-plus
2018-02-11 18:06:32 +01:00
= t '.edit'
= render 'form'