This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/admin/v_bdas/_form.html.haml
2021-08-23 10:26:02 +02:00

13 lines
623 B
Plaintext

=semantic_form_for [:admin, @v_bda], :remote => true, :data => {:confirm => "Voulez-vous vraiment générer une remise immédiate ?"} do |form|
=form.hidden_field :bda_type
=form.hidden_field :v_contact_id
%div
%table
%tr
%td{:style => "vertical-align:middle;"}
Montant de la remise :
%td{:style => "vertical-align:middle;padding-bottom:0;"}=form.input :amount, :label => false, :input_html => {:style => "width:70px;margin:0;"}
%td{:style => "vertical-align:middle;line-height:1;"} €
%br
=form.submit "Générer une remise immédiate", :class => "btn btn-primary"