Sha256: 86729345ce0dd8898bdb00cb0cc6c152a36271211aed38ad1f6480854e9e0398
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
<% exceptions ||= ['created_at', 'updated_at', 'deleted_at'] %> <% show_columns ||= [] %> <% table_class ||= 'datatables styletable' %> <% card_class ||= 'primary' %> <% sort_all ||= false %> <% show_new &&= true %> <% sort_fields ||= [] %> <% hide_actions ||= false %> <% if show_columns.empty? %> <% show_columns = list.klass.column_names - exceptions %> <% end %> <div class="card card-outline card-<%= card_class %>"> <div class="card-header with-border"> <h3 class="card-title"> <strong> <i class="fa fa-list"></i> Listagem </strong> <% if show_new %> <%= link_to eval("new_#{list.klass.model_name.singular}_path"), class: "btn btn-xs btn-#{card_class}" do %> Cadastar <i class="fa fa-plus"></i> <% end %> <% end %> <div class="text-muted text-xs"> <%= page_entries_info list, entry_name: '' %> </div> </h3> <div class='card-tools'> <%= paginate list, window: 1 %> </div> </div> <div class="card-body p-0"> <%= render 'shared/list', list: list, show_columns: show_columns, box_class: card_class, table_class: table_class, exceptions: exceptions, sort_all: sort_all, sort_fields: sort_fields, hide_actions: hide_actions %> </div> </div> <div class="row"> <div class="col" > <div class="text-muted text-xs"> <%= page_entries_info list, entry_name: '' %> </div> </div> <div class="col"> <div class="float-right"> <%= paginate list, window: 1 %> </div> </div> </div> <br>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zutils-2.0.2 | app/views/shared/_card_list.html.erb |