Sha256: 6eee10b35a4445c31f79a4fd500e81d24fcba336b8d5004a277fd01b33a4fa26
Contents?: true
Size: 1.64 KB
Versions: 9
Compression:
Stored size: 1.64 KB
Contents
<%= form_for(@manufacturer, :url => (@manufacturer.new_record? ? dhatu.manufacturers_path : dhatu.manufacturer_path), :method => (@manufacturer.new_record? ? :post : :put), :remote => true, :html => {:id=>"form_manufacturer", :class=>"mb-0 form-horizontal"}) do |f| %> <div id="manufacturer_form_error"> <%= @manufacturer.errors[:base].to_sentence %> </div> <div class="form-inputs m-15"> <%= theme_form_field(@manufacturer, :name, required: true, form_style: "top-bottom", html_options: { placeholder: "", "data-id": @manufacturer.id.to_s}) %> <%= theme_form_field(@manufacturer, :description, required: true, html_options: {type: :textarea, class: "form-control wysihtml5", "data-stylesheet-url": "assets/wysiwyg-color.css"}, form_style: "top-bottom") %> <%= theme_form_field(@manufacturer, :remarks, required: false, form_style: "top-bottom", html_options: { placeholder: "" }) %> <div class="row"> <div class="col-md-9 pl-20"> <%= theme_form_field(@manufacturer, :website, required: true, form_style: "top-bottom", html_options: { placeholder: "http://" }) %> </div> <div class="col-md-3 pl-20"> <%= theme_form_field(@manufacturer, :priority, required: false, form_style: "top-bottom", html_options: { placeholder: "" }) %> </div> </div> </div> <div> <%= submit_tag("Save", :class=>"btn btn-primary pull-right ml-10") %> <%= link_to raw("<i class='fa fa-close mr-5'></i><span>Cancel</span>"), "#", onclick: close_form_modal, class: "pull-right btn btn-white" %> </div> <%= clear_tag %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems