intra_app/app/views/admin/comments/_form.html.haml
Nicolas Bally 761e075bb6 initial
2018-11-08 21:47:30 +01:00

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"