Mercurial > hg > soundsoftware-site
view 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 |
line wrap: on
line source
<% content_for :header_tags do %> <%= javascript_include_tag 'authors', :plugin => 'redmine_bibliography' %> <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %> <% end %> <h2><%=l(:label_publication_new)%></h2> <% labelled_form_for @publication, :url => { :project_id => @project, :action => :create } do |f| -%> <%= render :partial => 'form', :locals => { :f => f } %> <div style="clear:both"></div> <%= f.submit %> <% end %>