view plugins/redmine_bibliography/app/views/publications/_form.html.erb @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 5ea1a213c7a5
children 6ba24edae331
line wrap: on
line source
<%= error_messages_for 'publication' %>

<h3><%= 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.text_field :external_url, :size => 70 %>
      <br />
      <em><%= l(:text_external_url) %></em>
    </p>
    <p>
      <%= f.text_field :doi, :size => 70 %>
      <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>