Sha256: 115f0f53fefbc99d4233afd28b49f7ea9e054f39eb8aa8a27553802a4241f301
Contents?: true
Size: 1.1 KB
Versions: 83
Compression:
Stored size: 1.1 KB
Contents
- content_for :sidebar do .sidebar .content %h2 <%= plural_name.titleize %> = link_to "New <%= singular_name.titleize %>", new_<%= singular_name %>_path, class: 'btn btn-block btn-primary' %header %h1 <%= plural_name.titleize %> .tools = render "tenon/shared/section_header/sidebar_toggle" .header-button = link_to '#', id: 'quick-search-toggle' do .header-icon= fa_icon('fw search') .toolbox = render "tenon/shared/section_header/quick_search", record_list: '#<%= plural_name %>' .main-content = error_messages_for :<%= singular_name %> %ul#<%= plural_name %>.record-list<% if attributes.map(&:name).include?('list_order') %>.sortable<% end -%>{data: {records: {url: <%= plural_name %>_path(format: 'json'), template: 'tenon/templates/<%= plural_name %>/<%= singular_name %>_row', name: '<%= singular_name %>'}<% if attributes.map(&:name).include?('list_order') %>, :'reorder-path' => reorder_<%= plural_name %>_path<% end %>}} = link_to "Load More <%= plural_name.titleize %>", '#', :class => 'btn btn-comp infinite-loader', 'data-record-list' => '#<%= plural_name %>'
Version data entries
83 entries across 83 versions & 1 rubygems