Sha256: 77a8f2c5165bad81bd818b7e9929af2c3cde48d6bb923ffac8f5659fc6e217d2

Contents?: true

Size: 908 Bytes

Versions: 80

Compression:

Stored size: 908 Bytes

Contents

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

80 entries across 80 versions & 1 rubygems

Version Path
tailwindcss-rails-2.5.0 lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-x86_64-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-x86_64-darwin lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-x64-mingw32 lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-x64-mingw-ucrt lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-arm64-darwin lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-arm-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.5.0-aarch64-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1 lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-x86_64-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-x86_64-darwin lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-x64-mingw32 lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-x64-mingw-ucrt lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-arm64-darwin lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-arm-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.1-aarch64-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.0 lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.0-x86_64-linux lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.0-x86_64-darwin lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
tailwindcss-rails-2.4.0-x64-mingw32 lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt