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 / vendor / plugins / redmine_bibliography / app / views / publications / _form.html.erb @ 1052:6674e52e20bf

History | View | Annotate | Download (887 Bytes)

1
<%= f.error_messages %> 
2
<%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %>
3

    
4
<h3><%= f.text_field :title, :required => true, :size => 70 %></h3>
5

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

    
12
    <p>
13
      <%= f.text_field :external_url, :size => 70 %>
14
      <br />
15
      <em><%= l(:text_external_url) %></em>
16
    </p>
17
  </div>
18

    
19
<h3><%= l(:authors) %></h3>    
20
  <div class="box tabular">
21
    <div id="authors" class="fields">      
22
      <% f.fields_for :authorships do |builder| -%>
23
        <%= render "authorship_fields", :f => builder %>
24
      <%- end -%>
25
    </div>
26
    <%= link_to_add_author_fields l(:label_add_an_author), f, :authorships, params[:action] %>
27
  </div>
28
</div>