Sha256: aa6d0309cb6290204ad19c75dae8e685948690549ae993e95a7b97756a69f847

Contents?: true

Size: 908 Bytes

Versions: 42

Compression:

Stored size: 908 Bytes

Contents

<div class="flex mx-auto w-full md:w-2/3">
  <div class="mx-auto">
    <%% if notice.present? %>
      <p class="inline-block py-2 px-3 mb-5 font-medium text-green-500 bg-green-50 rounded-lg" id="notice"><%%= notice %></p>
    <%% end %>

    <%%= render @<%= singular_table_name %> %>

    <%%= link_to "Edit this <%= singular_table_name %>", edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
    <div class="inline-block ml-2">
      <%%= button_to "Destroy this <%= singular_table_name %>", <%= singular_table_name %>_path(@<%= singular_table_name %>), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
    </div>
    <%%= link_to "Back to <%= plural_table_name %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
  </div>
</div>

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
panda_cms-0.3.13 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.12 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.11 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.10 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.9 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.8 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.7 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.6 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.5 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.4 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.3 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.2 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.1 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.3.0 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.2.7 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.2.6 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.2.5 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.2.4 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.2.3 lib/templates/erb/scaffold/show.html.erb.tt
panda_cms-0.2.2 lib/templates/erb/scaffold/show.html.erb.tt