To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / plugins / redmine_bibliography / app / views / publications / _form.html.erb @ 1440:7465cceb8dfc

History | View | Annotate | Download (996 Bytes)

1
<h3><%= f.label :title %>&nbsp;<span class="required">*</span>&nbsp;<%= f.text_field :title, :required => true, :size => 70 %></h3>
2

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

    
10
    <p>
11
      <%= f.label :external_url %><%= f.text_field :external_url -%>
12
      <br />
13
      <em><%= l(:text_external_url) -%></em>
14
    </p>
15
    <p>
16
      <%= f.label :doi %><%= f.text_field :doi -%>
17
      <br />
18
      <em><%= l(:text_doi) %></em>
19
    </p>
20

    
21
  </div>
22
</div>
23

    
24
<div class="splitcontentright">
25
  <h3><%= l(:authors) %></h3>
26
  <div class="box tabular">
27
    <%= f.fields_for :authorships do |builder| -%>
28
      <%= render "authorship_fields", :f => builder %>
29
    <%- end -%>
30
    <%= link_to_add_author_fields l(:label_add_an_author), f, :authorships, params[:action] %>
31
  </div>
32
</div>
33

    
34