view plugins/redmine_bibliography/app/views/publications/_form.html.erb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents c97b3b9b5c86
children
line wrap: on
line source
<h3><%= f.label :title %>&nbsp;<span class="required">*</span>&nbsp;<%= f.text_field :title, :required => true, :size => 70 %></h3>

<div class="splitcontentleft">
  <h3><%= l(:label_publication_other_details) %></h3>
  <div class="box tabular">
    <%= f.fields_for :bibtex_entry do |builder| -%>
      <%= render :partial => 'bibtex_fields', :locals => { :f => builder}  %>
    <%- end -%>

    <p>
      <%= f.label :external_url %><%= f.text_field :external_url -%>
      <br />
      <em><%= l(:text_external_url) -%></em>
    </p>
    <p>
      <%= f.label :doi %><%= f.text_field :doi -%>
      <br />
      <em><%= l(:text_doi) %></em>
    </p>

  </div>
</div>

<div class="splitcontentright">
  <h3><%= l(:authors) %></h3>
  <div class="box tabular">
    <%= f.fields_for :authorships do |builder| -%>
      <%= render "authorship_fields", :f => builder %>
    <%- end -%>
    <%= link_to_add_author_fields l(:label_add_an_author), f, :authorships, params[:action] %>
  </div>
</div>