
<%= simple_form_for([:settings,@item, @settings_menu_item_instances]) do |f| %>

  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :item_instance_code %>
    <%= f.input :item_instance_name %>
    <%= f.input :price %>

    <%= f.input :item_attributes, collection: MenuItemAttribute.collection, input_html: { multiple: true } %>


    <%= f.input :is_on_promotion %>
    <%= f.input :promotion_price %>
    <%= f.input :is_available %>
  </div>

  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>


