view .svn/pristine/02/025612e4a47b7cb1c36f52b9661b0cc1f94b2a45.svn-base @ 1422:c97b3b9b5c86 biblio_alt_search_auth

changed form_builder - labelled_form_for was not generating validad HTML5 markup.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 02 Oct 2013 16:44:26 +0100
parents cbb26bc654de
children
line wrap: on
line source
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
  id: 1
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>
two:
  id: 2
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>