Sha256: cf8632d9ebf9344d9fe3103c4fbbabcabe221d0551ea009fdb3de80807640828

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

<%% if notice.present? %>
  <p style="color: green" data-controller="bridge--flash-message"><%%= notice %></p>
<%% end %>

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

<div>
  <div class="hide-on-mobile">
    <%%= link_to "Edit this <%= human_name.downcase %>", <%= edit_helper(type: :path) %>, data: { controller: "bridge--nav-button", bridge_title: "Edit" } %> |
    <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper(type: :path) %> %>
  </div>

  <%%= link_to "Destroy this <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, "data-turbo-method": :delete %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strada-rails-0.0.3 lib/generators/strada/scaffold/templates/show.html.erb.tt
strada-rails-0.0.2 lib/generators/strada/scaffold/templates/show.html.erb.tt
strada-rails-0.0.1 lib/generators/strada/scaffold/templates/show.html.erb.tt