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

21 lines
278 B
Plaintext

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