Sha256: 7c728d90fb495406f1a934359b9be72e72d2ed32f3af789e1b713937bcd6df48
Contents?: true
Size: 1.51 KB
Versions: 4
Compression:
Stored size: 1.51 KB
Contents
<% scope = 'activerecord.attributes.spree/home_page_feature' -%> <%= render :partial => 'spree/admin/shared/configuration_menu' %> <div class="toolbar" data-hook="toolbar"> <ul class="actions"> <li> <p><%= button_link_to t(:new_home_page_feature), spree.new_admin_home_page_feature_path, :icon => 'add', :id => 'admin_new_home_page_feature_link' %> </p> </li> </ul> <br class="clear" /> </div> <h1><%= t(:listing_home_page_features) %></h1> <table class="index" id='listing_home_page_features'> <thead> <tr> <th><%= t(:title, :scope => scope) %></th> <th><%= t(:style, :scope => scope) %></th> <th><%= t(:published, :scope => scope) %></th> <th></th> </tr> </thead> <tbody> <% @home_page_features.each do |home_page_feature| @edit_url = spree.edit_admin_home_page_feature_path(home_page_feature) @delete_url = spree.admin_home_page_feature_path(home_page_feature) %> <tr id="<%= spree_dom_id home_page_feature %>"> <td><%= home_page_feature.title %></td> <td><%= home_page_feature.style.humanize %></td> <td><%= home_page_feature.publish.to_s.titleize %></td> <td class="actions"> <%= link_to_edit home_page_feature, :class => 'edit' %> <%= link_to_delete home_page_feature, url: spree.admin_home_page_feature_path(home_page_feature) %> </tr> <% end %> <% if @home_page_features.empty? %> <tr><td colspan="4"><%= t(:none) %></td></tr> <% end %> </tbody> </table>
Version data entries
4 entries across 4 versions & 1 rubygems