You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
agenda-libre-ruby/app/views/events/new.html.haml

25 lines
334 B

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