Sha256: f7168ccf4bd5f501ca740bedcd95d2ffaab624d4dfc1d1306bee085b1ab73514

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 KB

Contents

<div class="table-responsive">
  <table class="table table-striped table-bordered sortable">
    <thead class="thead-dark">
      <tr>
        <th>Name</th>
        <th>Description</th>
        <th>Staff Notes</th>
        <th>Tags</th>
        <th>Entries</th>
        <th colspan="2">Actions</th>
      </tr>
    </thead>
    <tbody>
      <% document_data_dictionaries.each do |document_data_dictionary| %>
        <tr>
          <td><%= link_to(document_data_dictionary.name, admin_document_document_data_dictionary_path(document_data_dictionary.friendlier_id, document_data_dictionary)) %></td>
          <td>
            <%= document_data_dictionary.description %>
            <span class="sr-only"><%= document_data_dictionary.inspect %></span>
          </td>
          <td>
            <%= document_data_dictionary.staff_notes %>
          </td>
          <td>
            <%= document_data_dictionary.tags %>
          </td>
          <td>
            <%= link_to "#{document_data_dictionary.document_data_dictionary_entries.count} entries", admin_document_document_data_dictionary_path(document_data_dictionary.friendlier_id, document_data_dictionary) %>
          </td>
          <td>
            <%= link_to 'Edit', edit_admin_document_document_data_dictionary_path(document_data_dictionary.friendlier_id, document_data_dictionary) %>
          </td>
          <td>
            <%= link_to 'Destroy', admin_document_document_data_dictionary_path(document_data_dictionary.friendlier_id, document_data_dictionary), method: :delete, data: { confirm: 'Are you sure?' } %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight_admin-0.7.1 app/views/admin/document_data_dictionaries/_data_dictionaries_table.html.erb
geoblacklight_admin-0.7.0 app/views/admin/document_data_dictionaries/_data_dictionaries_table.html.erb