32 lines
853 B
Plaintext
Executable File
32 lines
853 B
Plaintext
Executable File
=form_for [:admin, @newsletter] do |f|
|
|
=f.submit "sauvegarder"
|
|
%p
|
|
Sujet :
|
|
=f.text_field :title, :class => "inputText"
|
|
|
|
%p
|
|
Sujet :
|
|
=f.select :email_from, Newsletter::EMAIL_FROMS,:class => "inputText"
|
|
|
|
|
|
|
|
|
|
%p pour ajouter le lien d'inscription pour le forum avec le numéro adhérent ajouter : [lien_inscription_forum]
|
|
%p
|
|
=f.text_area :content, :class => "redactor_content", :style => "height:600px;width:100%;max-width:100%"
|
|
|
|
:javascript
|
|
|
|
$('.redactor_content').redactor({
|
|
|
|
fixed: true,
|
|
lang: 'fr',
|
|
buttons : ['html', '|', 'formatting', '|', 'bold', 'italic', 'deleted','underline','|', 'alignleft', 'aligncenter', 'alignright', 'justify', '|', 'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'table', 'link', '|','fontcolor', 'backcolor','|', 'horizontalrule'],
|
|
|
|
|
|
});
|
|
|
|
|
|
=f.submit "sauvegarder"
|
|
|
|
|