Sha256: e35a56c8bbbbf3e17bc232309fd3fde82ca5b046e4643380312ccff628218ff2
Contents?: true
Size: 598 Bytes
Versions: 4
Compression:
Stored size: 598 Bytes
Contents
<h1>Editing Vendor</h1> <%= render :partial => 'admin/suppliers/supplier_tabs', :locals => {:current => "Taxons"} %> <%= form_tag({:controller => "supplier_taxons", :action => "update_taxons"}, :method => :post) do %> <h3>Category</h3> <ul> <% @options.each do |o| %> <%- if @supplier.taxons.select{|p| p.name == o.name}.present? %> <li><%= check_box_tag o.name, o.id, true %><%= label_tag o.name %></li> <% else %> <li><%= check_box_tag o.name, o.id %><%= label_tag o.name %></li> <% end %> <% end %> </ul> <%= submit_tag "Update" %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems