Mercurial > hg > soundsoftware-site
comparison plugins/redmine_bibliography/app/views/publications/new.html.erb @ 1235:775d89567f41 redmine-2.2-integration
Converting fields_for ... :builder => TabularFormBuilder to labelled_fields_for seems like the thing to do
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 14 Mar 2013 12:16:26 +0000 |
parents | b4b72f1eb644 |
children | 5ea1a213c7a5 |
comparison
equal
deleted
inserted
replaced
1234:e0167f4e1d8a | 1235:775d89567f41 |
---|---|
3 <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %> | 3 <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %> |
4 <% end %> | 4 <% end %> |
5 | 5 |
6 <h2><%=l(:label_publication_new)%></h2> | 6 <h2><%=l(:label_publication_new)%></h2> |
7 | 7 |
8 <% form_for @publication, :url => { :project_id => @project, :action => :create }, :builder => TabularFormBuilder do |f| -%> | 8 <% labelled_form_for @publication, :url => { :project_id => @project, :action => :create } do |f| -%> |
9 <%= render :partial => 'form', :locals => { :f => f } %> | 9 <%= render :partial => 'form', :locals => { :f => f } %> |
10 <div style="clear:both"></div> | 10 <div style="clear:both"></div> |
11 <%= f.submit %> | 11 <%= f.submit %> |
12 <% end %> | 12 <% end %> |