Sha256: cd267f7419ed1b409131ccb601596513bdad1c3e518cf2de134eb308c29630ba

Contents?: true

Size: 848 Bytes

Versions: 1

Compression:

Stored size: 848 Bytes

Contents

<div class="card card-default sticky-title rounded-0">
  <div class="card-body">
    <h2><%= Archangel.t(:show_resource, resource: @collection.model_name.human.titleize) %></h2>
  </div>
</div>

<div class="card collections-show">
  <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>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archangel-0.4.0 app/views/archangel/backend/collections/show.html.erb