add container
This commit is contained in:
parent
70826a52ca
commit
bb6e89d7f1
@ -31,26 +31,31 @@
|
|||||||
=f.hidden_field :price_document_type_id
|
=f.hidden_field :price_document_type_id
|
||||||
|
|
||||||
|
|
||||||
%center= f.input :public_fournisseur_name, :label => "Nom de votre société :"
|
%center
|
||||||
|
.small-container
|
||||||
|
= f.input :public_fournisseur_name, :label => "Nom de votre société :"
|
||||||
|
|
||||||
|
|
||||||
%p{:style => "text-align:center;font-size:1.2em;"}
|
%p{:style => "text-align:center;font-size:1.2em;"}
|
||||||
Vous pouvez également indiquer votre référence interne :
|
Vous pouvez également indiquer votre référence interne :
|
||||||
|
|
||||||
|
|
||||||
=hidden_field_tag :public_edit, params[:public_edit]
|
=hidden_field_tag :public_edit, params[:public_edit]
|
||||||
|
|
||||||
|
|
||||||
.price_line_block_form
|
.price_line_block_form
|
||||||
=f.semantic_fields_for :price_line_block do |f|
|
=f.semantic_fields_for :price_line_block do |f|
|
||||||
%center=render :partial => "admin/price_line_blocks/form_#{f.object.block_type_slug}", :locals => {:f => f}
|
%center=render :partial => "admin/price_line_blocks/form_#{f.object.block_type_slug}", :locals => {:f => f}
|
||||||
|
|
||||||
|
|
||||||
%center
|
%center
|
||||||
=f.submit "sauvegarder", :class => "btn btn-primary"
|
=f.submit "sauvegarder", :class => "btn btn-primary"
|
||||||
|
|
||||||
|
|
||||||
|
:scss
|
||||||
|
.small-container{
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user