agenda-libre-ruby/app/views/events/new.html.haml
2018-02-11 18:06:32 +01:00

25 lines
330 B
Plaintext

%h2
%em.fa.fa-edit
= title t '.title'
- if @event.description
%fieldset
%legend
%em.fa.fa-eye
= t '.preview'
= render file: '/events/show'
- else
:markdown
#{t '.subtitle'}
#advises
:markdown
#{t '.advises'}
%fieldset
%legend
%em.fa.fa-plus
= t '.edit'
= render 'form'