Sha256: 753dde9b01b47846761366b0e48f8c58ee1601038086dbb75b86e2ec6565c890

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

<div class="card card-default">
  <div class="card-body">
    <h2><%= fa_icon("folder-open") %> <%= Archangel.t(:show_resource, resource: @collection.model_name.human.titleize) %></h2>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-lg-12">
      <div class="card pages-index">
        <div class="card-header">
          <%= render "buttons" %>
        </div>

        <div class="card-body">
          <p>
            <strong><%= Archangel.t(:name) %>:</strong>
            <%= @collection.name %>
          </p>

          <p>
            <strong><%= Archangel.t(:slug) %>:</strong>
            <%= @collection.slug %>
          </p>

          <p>
            <pre>
              <code>
{% collectionfor item in "<%= @collection.slug %>" %}
  {{ forloop.index }}: {{ item.id }}
{% endcollectionfor %}

{% collection items = "<%= @collection.slug %>" %}
{% for item in items %}
  {{ forloop.index }}: {{ item.id }}
{% endfor %}
              </code>
            </pre>
          </p>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.8 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.7 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.6 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.5 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.4 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.3 app/views/archangel/backend/collections/show.html.erb
archangel-0.0.2 app/views/archangel/backend/collections/show.html.erb