Sha256: a6ccdde89fe30ef76e39755ecd858fabbc77c0fa41dcd35cde418f664dc136b5

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

<h2><%= plural_name.humanize.capitalize %>: <%%= @<%= singular_name %>.to_s %></h2>

<%%= admin_controls :<%= table_name %>, :for => :show, :object => @<%= singular_name %> %>

<div id="<%%= dom_id(@<%= singular_name %>) %>">
	<div class="fields_group">
	<% attributes.each do |attribute| -%>
	<h5><%= attribute.human_name %>:</h5>
	<%%=h @<%= singular_name %>.<%= attribute.name %> %>
	<% end -%>
	</div>
</div>

<%%= admin_controls :<%= table_name %>, :for => :show, :object => @<%= singular_name %> %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quirkey-qadmin-0.1.0 lib/qadmin/views/show.html.erb