2019-08-06 12:06:50 +02:00

15 lines
538 B
Plaintext
Executable File

= semantic_form_for [:admin,@mail_content], :remote => true do |form|
.content
=# form.input :enabled, :label => "Actif ?", :as => :boolean
=# form.input :mail_template_id, :label => "Template : ", :collection => MailTemplate.all, :include_blank => true, :as => :select
= #form.input :content_type, :label => "Type de contenu", :collection => ["text", "blocs"], :include_blank => false, :as => :select
= form.input :subject
= form.input :message
.actions
= form.submit "Sauvegarder"