orthographe + présentation
This commit is contained in:
parent
eb18de9db4
commit
6e86aeef69
@ -1,28 +1,29 @@
|
|||||||
=form_for [:admin, @petition] do |f|
|
=semantic_form_for [:admin, @petition] do |f|
|
||||||
=f.submit "sauvegarder", :class => "btn"
|
|
||||||
%p
|
|
||||||
Nom :
|
|
||||||
=f.text_field :name
|
|
||||||
%p
|
|
||||||
Permalink :
|
|
||||||
=f.text_field :slug
|
|
||||||
|
|
||||||
|
=f.inputs do
|
||||||
%p
|
=f.input :name, :label => "Nom :"
|
||||||
=f.text_area :description, :class => "redactor_content", :style => "height:600px;width:100%;max-width:100%"
|
=f.input :slug, :label => "Permalink :"
|
||||||
|
|
||||||
:javascript
|
|
||||||
|
|
||||||
$('.redactor_content').redactor({
|
%p
|
||||||
|
=f.text_area :description, :class => "redactor_content", :style => "min-height:600px;height:600px;width:100%;max-width:100%"
|
||||||
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
|
||||||
|
%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 "
|
Vous venez de signer "
|
||||||
=@signator.petition.name
|
=@signator.petition.name
|
||||||
='",'
|
='",'
|
||||||
merci pour votre soutient.
|
merci pour votre soutien.
|
||||||
|
|
||||||
%p
|
%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 :
|
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