19 lines
634 B
Plaintext
19 lines
634 B
Plaintext
= semantic_form_for [:admin,@plume], :remote => true do |form|
|
|
.content
|
|
= form.inputs do
|
|
= form.input :enabled,:as => :boolean , :label => "Actif"
|
|
|
|
|
|
= form.input :title, :label => "Titre :"
|
|
= form.input :number, :label => "Numéro plume :"
|
|
= form.input :p_version, :label => "Ligne 'version' :"
|
|
= form.input :image_file_id, :as => :qi_image_select
|
|
= form.input :credits, :label => "Crédit photo couverture :"
|
|
= form.input :redaction_credits, :label => "Crédits rédac & relecture :"
|
|
|
|
|
|
|
|
|
|
.actions
|
|
= form.submit "Sauvegarder", :class => "btn btn-primary"
|