ref: dockerize
plugins/suppliers/views/suppliers_plugin_myprofile/margin_change.html.erb
<%= t('suppliers_plugin.views.myprofile.margin_change.change_default_margin') %>
<%= form_for @profile, as: :profile_data, remote: true, url: {controller: :suppliers_plugin_myprofile, action: :margin_change} do |f| %><%= t('views.myprofile.margin_change.notice') %><%= labelled_field f, :margin_percentage, t('views.myprofile.margin_change.new_margin'), content_tag(:div, f.number_field(:margin_percentage, step: 'any')+content_tag(:span, "%", class: "input-group-addon"), class: 'input-group' ), class: 'form-group' %><%= check_box_tag :apply_to_all, 1, false, style: 'float: left' %> <%= label_tag :apply_to_all, t('views.myprofile.margin_change.apply_to_all'), class: 'line-label' %><%= submit_tag t('views.myprofile.margin_change.confirm') %> <%= modal_close_link t('views.myprofile.margin_change.cancel') %> <% end %>