php_app/app/views/admin/comments/_form.html.haml
Nicolas Bally 5cf3a3e83d initial
2014-11-25 22:56:20 +01: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"