13 lines
453 B
Plaintext
13 lines
453 B
Plaintext
= semantic_form_for [:admin,@article], :remote => true do |form|
|
|
.content
|
|
= form.inputs do
|
|
= form.input :enabled,:as => :boolean , :label => "Actif"
|
|
= form.input :published_at, :lable => "Date de publication : ", :as => :datetime
|
|
= form.input :title, :label => "Titre :"
|
|
= form.input :slug, :label => "Slug :"
|
|
= form.input :description, :label => "Description courte :", :as => :text
|
|
|
|
|
|
.actions
|
|
= form.submit "Sauvegarder"
|