Sha256: 82e6e76ebe0142b00570217031f0ac33e15d0b2936c1fcb053846bde7aee7d4b
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
<% content_for :header do %> <div class="main-header--buttons"> <%= link_to "<i class=\"fa fa-plus\" aria-hidden=\"true\"></i> New Structure".html_safe, new_structure_path, class: 'main-header--link b-btn b-btn-primary' %> </div> <p class="main-header--title"><%= t 'binda.structures' %></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.structures').downcase }).html_safe %></h5> <div class="main-sortable-table"> <div class="main-sortable-table--header-row"> <div class="main-sortable-table--header-title"> <p>Structures</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 %> <%= link_to "<i class=\"fa fa-plus\" aria-hidden=\"true\"></i> New Structure".html_safe, new_structure_path, class: 'main-header--link b-btn b-btn-primary' %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
binda-0.1.3 | app/views/binda/structures/sort_index.html.erb |