Sha256: 2692d0c915c2ac21d155efe2fd12e5c13b647f71a159f940376831bf9349b2f5

Contents?: true

Size: 716 Bytes

Versions: 2

Compression:

Stored size: 716 Bytes

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<h1><%= t("new_supplier") %></h1>

<% form_for @supplier, :url => collection_url, :html => { :multipart => true } do |f| %>
  <%= render :partial => "form", :locals => { :f => f } %>

  <table id="hours">
    <%= f.fields_for @supplier.hours.new do |f| %>
      <% ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"].each do |day| %>
        <%= render :partial => "hours_form", :locals => { :day => day, :f => f } %>
      <% end %>
    <% end %>
  </table>

  <p class="form-buttons">
  <%= button t("new") %>
  <%= t('or') %> <%= link_to t("cancel"), "#", :id => "cancel_link" %>
  </p>
<% end %>

<%= render "image_form" %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 app/views/admin/suppliers/new.html.erb
spree_suppliers-0.60.3 app/views/admin/suppliers/new.html.erb