Sha256: b6e5c96ff46ad74d24dc3207b21ee3d534ffdb6b3d7712782b52b77c2be90229

Contents?: true

Size: 745 Bytes

Versions: 2

Compression:

Stored size: 745 Bytes

Contents

<%= render :partial => 'admin/suppliers/supplier_tabs', :locals => {:current => "Supplier Details"} %>

<% form_for @supplier, :url => object_url, :html => { :method => :put, :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 => "edit_hours_form", :locals => { :day => day, :f => f } %>
      <% end %>
    <% end %>
  </table>

  <p class="form-buttons">
  <%= button t("update") %>
  <%= 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/edit.html.erb
spree_suppliers-0.60.3 app/views/admin/suppliers/edit.html.erb