Sha256: 7695cbbf01c82a402bb8e9824a9178675735b899688a66b86afa7eca797e6d71
Contents?: true
Size: 896 Bytes
Versions: 4
Compression:
Stored size: 896 Bytes
Contents
<%% title "<%= singular_table_name.titleize %> ##{@<%= singular_table_name %>.id}" %> <table class="table table-bordered"> <tbody> <%- attributes.each do |attribute| -%> <tr><th><strong><%= attribute.human_name %></strong></th><td><%%= @<%= singular_table_name %>.<%= attribute.name %> %></td></tr> <% end -%> </tbody> </table> <div class="form-actions"> <%%= link_to(<%= index_helper %>_path, :class => 'btn') do %> <i class="icon-circle-arrow-left"></i> Back <%% end %> or <%%= link_to(edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn btn-primary') do %> <i class="icon-edit icon-white"></i> Edit <%% end %> <%%= link_to(@<%= singular_table_name %>, :method => 'delete', :confirm => 'Are you sure?', :class => 'btn btn-danger') do %> <i class="icon-remove icon-white"></i> Delete <%% end %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems