orthographe + présentation
This commit is contained in:
parent
eb18de9db4
commit
6e86aeef69
@ -1,28 +1,29 @@
|
||||
=form_for [:admin, @petition] do |f|
|
||||
=f.submit "sauvegarder", :class => "btn"
|
||||
%p
|
||||
Nom :
|
||||
=f.text_field :name
|
||||
%p
|
||||
Permalink :
|
||||
=f.text_field :slug
|
||||
=semantic_form_for [:admin, @petition] do |f|
|
||||
|
||||
=f.inputs do
|
||||
=f.input :name, :label => "Nom :"
|
||||
=f.input :slug, :label => "Permalink :"
|
||||
|
||||
|
||||
%p
|
||||
=f.text_area :description, :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'],
|
||||
%p
|
||||
=f.text_area :description, :class => "redactor_content", :style => "min-height:600px;height:600px;width:100%;max-width:100%"
|
||||
|
||||
|
||||
});
|
||||
%p
|
||||
%br
|
||||
=f.submit "sauvegarder", :class => "btn"
|
||||
|
||||
|
||||
=f.submit "sauvegarder", :class => "btn"
|
||||
|
||||
: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'],
|
||||
|
||||
|
||||
});
|
||||
|
@ -6,7 +6,7 @@
|
||||
Vous venez de signer "
|
||||
=@signator.petition.name
|
||||
='",'
|
||||
merci pour votre soutient.
|
||||
merci pour votre soutien.
|
||||
|
||||
%p
|
||||
Pour que votre signature soit bien prise en compte, merci de cliquer sur ce lien, où de le copier dans la barre d'adresse de votre navigateur :
|
||||
|
Loading…
x
Reference in New Issue
Block a user