Sha256: 8fe00c4e8795bdad669f492ef094796755b323f02884f5634b3f1e5757e96054
Contents?: true
Size: 1011 Bytes
Versions: 4
Compression:
Stored size: 1011 Bytes
Contents
<h4><%= t("Add Option Types") %></h4> <table class="option-types"> <thead> <tr> <th><%= t("Name") %></th> <th><%= t("Presentation") %></th> <th></th> </tr> </thead> <tbody> <% @available_option_types.each do |ot| %> <tr> <td><%=ot.name %></td> <td><%=ot.presentation %></td> <td><%= link_to_remote t("Select"), :url => {:controller => "admin/option_types/", :id => ot, :product_id => @product.permalink, :action => "select", :option_type_id => ot}, :method => :get, :update => 'selected-options' %> </td> </tr> <% end %> <% if @available_option_types.empty? %> <tr> <td colspan="3"><%= :none_available.l %></td> </tr> <% end %> </tbody> </table>
Version data entries
4 entries across 4 versions & 1 rubygems