Nicolas Bally 56a0aa9848 initial
2012-06-17 21:11:12 +02:00

15 lines
396 B
Plaintext

= semantic_form_for [:admin,@comment], :remote => true do |form|
.content
= form.inputs do
= form.input :enabled, :as => :boolean
= 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"