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

21 lines
278 B
Plaintext
Raw Normal View History

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