Sha256: 4dd8fd0deeabc36a730fd8fffb41c496c2a870d4a44af0ccdaab42674f121653
Contents?: true
Size: 865 Bytes
Versions: 127
Compression:
Stored size: 865 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 <%= human_name.downcase %>", <%= edit_helper(type: :path) %>, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> <%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> <div class="inline-block ml-2"> <%%= button_to "Destroy this <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %> </div> </div> </div>
Version data entries
127 entries across 127 versions & 1 rubygems