15 lines
464 B
Plaintext
15 lines
464 B
Plaintext
= semantic_form_for [:admin,@comment], :remote => (@edit ? false : true) do |form|
|
|
.content
|
|
= form.inputs do
|
|
= form.input :enabled, :as => :boolean, :label => "Publié"
|
|
= form.input :pseudo, :label => "Pseudo :"
|
|
= form.input :email, :label => "Email :"
|
|
= form.input :website, :label => "Site web :"
|
|
|
|
|
|
= form.input :comment, :label => "Contenu :", :as => :text
|
|
|
|
|
|
.actions
|
|
= form.submit "Sauvegarder", :class => "btn btn-primary"
|
|
|