Sha256: 3fef8422f105cd715c9c3d28bbd2aadf611865183ba20f3b6923fc5554edf70b
Contents?: true
Size: 1.74 KB
Versions: 5
Compression:
Stored size: 1.74 KB
Contents
<% content_for :title do %> <%= t 'binda.structure.plural' %> <% end %> <% content_for :header do %> <div class="main-header--buttons"> <a href="<%= new_structure_path %>" class="main-header--link b-btn b-btn-primary"> <i class="fa fa-plus" aria-hidden="true"></i> <%= t('binda.new_structure') %> </a> </div> <p class="main-header--title"> <%= t 'binda.structure.plural' %> </p> <% end %> <% content_for :content do %> <%= render 'layouts/binda/popup_warning' %> <div class="main-table--container"> <h5 class="text-muted"> <%= t('binda.sort_index_hint', { arg1: t('binda.structure.plural').downcase }).html_safe %> </h5> <div class="main-sortable-table"> <div class="main-sortable-table--header-row"> <div class="main-sortable-table--header-title"> <p> <%= t('binda.structure.plural') %> </p> </div> </div> <div id="structures--sort-index" class="sortable" data-update-url="<%= structures_sort_path() %>" data-message="<%= t 'binda.sort_items_loader', { arg1: t('binda.components').downcase } %>"> <% @structures.order( :name ).each do |structure| %> <div id="structure_<%= structure.id %>" class="main-sortable-table--row ui-sortable-handle"> <div class="main-sortable-table--row-cell"> <p> <%= structure.name %> </p> </div> </div> <% end %> </div> </div> </div> <%= paginate @structures %> <a href="<%= new_structure_path %>" class="main-header--link b-btn b-btn-primary"> <i class="fa fa-plus" aria-hidden="true"></i> <%= t('binda.new_structure') %> </a> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems