diff --git a/app/views/admin/petitions/_form.haml b/app/views/admin/petitions/_form.haml index b90f75b..d247e7d 100755 --- a/app/views/admin/petitions/_form.haml +++ b/app/views/admin/petitions/_form.haml @@ -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| - - %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'], - - - }); - - - =f.submit "sauvegarder", :class => "btn" - - \ No newline at end of file + =f.inputs do + =f.input :name, :label => "Nom :" + =f.input :slug, :label => "Permalink :" + + + + %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" + + + + :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'], + + + }); + \ No newline at end of file diff --git a/app/views/petition_mails/confirmation.haml b/app/views/petition_mails/confirmation.haml index 9750a5d..770ed58 100644 --- a/app/views/petition_mails/confirmation.haml +++ b/app/views/petition_mails/confirmation.haml @@ -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 :