Sha256: fe91e5b0154f0886d4ea3ee69c62ed3c9de30c55b4bba0aacaee19719ac42a5d

Contents?: true

Size: 590 Bytes

Versions: 3

Compression:

Stored size: 590 Bytes

Contents

<%= simple_form_for(@product) do |f| %>
  <%= f.error_notification %>

  <div class="form-group">
        <%= f.input :name %>
        <%= f.input :description %>
        <%= f.input :short_description %>
        <%= f.input :price %>
        <%= f.input :weight %>
        <%= f.input :lenght %>
        <%= f.input :height %>
        <%= f.association :product_category %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, t(:create, model: t(:product, scope: "activerecord.models.mechanize_store"), scope: "helpers.submit"), class: "btn btn-primary" %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
mechanize_store-0.0.4 app/views/mechanize_store/products/_form.html.erb
mechanize_store-0.0.3 app/views/mechanize_store/products/_form.html.erb
mechanize-store-0.0.2 app/views/mechanize_store/products/_form.html.erb