=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 => "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'],
      
    
    });
  