Sha256: 43eb638980e3185c8540ceaf78d4f8ec06b2a8e69ea47c0297e4aba9c25e1bdc
Contents?: true
Size: 933 Bytes
Versions: 3
Compression:
Stored size: 933 Bytes
Contents
<%- if options[:metatags] %> <h1 class="text-xl text-gray-600 mr-10"><%%%= title('<%%= singular_table_name.titleize %>') %></h1> <%- else -%> <h1 class="text-xl text-gray-600 mr-10"><%%= plural_table_name.titleize %></h1> <%- end -%> <div class="border border-gray-200 my-7 shadow overflow-hidden rounded-sm"> <dl> <%%- attributes.reject(&:password_digest?).each do |attribute| -%> <div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-4 sm:gap-4 sm:px-6"> <dt class="text-sm font-medium text-gray-500"><%%= attribute.human_name %></dt> <dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-3"><%%%= @<%%= singular_table_name %>.<%%= attribute.name %> %></dd> </div> <%%- end -%> </dl> </div> <%%%= link_to 'Edit', edit_<%%= singular_table_name %>_path(@<%%= singular_table_name %>), class: 'hover:underline' %> | <%%%= link_to 'Back', <%%= index_helper %>_path, class: 'hover:underline' %>
Version data entries
3 entries across 3 versions & 1 rubygems