Sha256: 9ec7732d798d5f9bd02b9eda1ac0399f34dbd998ac267c376728603fc540c09f

Contents?: true

Size: 520 Bytes

Versions: 14

Compression:

Stored size: 520 Bytes

Contents

<ol class="breadcrumb">
  <% if index %>
    <li class="active">
      <%= @resource_class.model_name.human(count: 2) %>
    </li>
  <% else %>
    <li>
      <%= link_to @resource_class.model_name.human(count: 2), @resource_class %>
    </li>
  <% end %>
  </li>
  <% unless index %>
    <li class="active">
      <% if @resource.new_record? %>
        <%= t("helpers.submit.create", model: @resource_class.model_name.human) %>
      <% else %>
        <%= @resource.to_s %>
      <% end %>
    </li>
  <% end %>
</ol>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
godmin-0.10.3 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.10.2 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.10.1 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.10.0 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.9 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.8 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.7 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.6 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.5 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.4 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.3 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.2 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.1 app/views/godmin/resource/_breadcrumb.html.erb
godmin-0.9.0 app/views/godmin/resource/_breadcrumb.html.erb