38 lines
875 B
Plaintext
Executable File
38 lines
875 B
Plaintext
Executable File
=semantic_form_for [:admin, @don_tunnel] do |f|
|
|
|
|
=f.inputs do
|
|
|
|
= f.input :image_file_id, :label => "Image :" , :as => :qi_image_select
|
|
= f.input :title, :label => "Texte haut :"
|
|
= f.input :slug, :label => "Slug :"
|
|
= f.input :top_text, :label => "Texte haut :"
|
|
= f.input :bottom_text, :label => "Texte haut :"
|
|
|
|
= f.input :recurrent_amount, :label => "Montants récurrents :"
|
|
= f.input :ponctuel_amount, :label => "Montants ponctuels :"
|
|
|
|
|
|
|
|
%p
|
|
%br
|
|
=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|
|
|
|
|
|
:javascript
|
|
$(".redactor_textarea").redactor({
|
|
focus: true,
|
|
callbacks: {
|
|
init: function()
|
|
{
|
|
|
|
}
|
|
}
|
|
});
|
|
|
|
:css
|
|
.redactor-editor{
|
|
padding: 24px 32px;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
|
} |