view plugins/redmine_bibliography/app/views/publications/_form.html.erb @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +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>