.buttons {} .signature { float: left; } .signature * { display: inline; margin-right: 1em; font-size: 0.8em;} .fields { clear: both;} .field { } <% unless options[:singleton] -%> New <% end -%> Edit <% unless options[:singleton] -%> id: <% end -%> <% if options[:timestamps] %> created at: updated at: <% end -%> <% for attribute in attributes -%> <% if attribute.type != :has_one && attribute.type != :has_many -%> <% name = attribute.name.camelcase.sub(/^(.)/){ $1.downcase } -%> <% end -%> <% end -%> <% unless options[:singleton] -%> Create <% end -%> Save <% unless options[:singleton] -%> Delete <% end -%> <% unless options[:singleton] -%> <% end -%>