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 / _authorship_fields.html.erb @ 1393:67abd7b08753

History | View | Annotate | Download (2.22 KB)

1
<div id="authors" class="fields">
2
  <div id="<%= form_tag_id( f.object_name, :search_author ) %>" >
3
    <p>
4
      <%= f.text_field :search_name, :size => 25, :class => "author_search" %>
5
    </p>
6

    
7
    <p style="margin-bottom: -2.5em; padding-bottom; 0"><label><%= l(:identify_author_question) %></label></p>
8

    
9
    <p class="author_identify">
10
      <label class='inline'><%= radio_button_tag(:identify_author, "yes", false, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_yes )) %> <%= l(:identify_author_yes) %> </label><br />
11

    
12
      <label class='inline'><%= radio_button_tag(:identify_author, "correct", false, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_corrections )) %> <%= l(:identify_author_correct) %> </label><br />
13

    
14
      <label class='inline'><%= radio_button_tag(:identify_author, "no", true, :name => form_tag_name(f.object_name,:identify_author ), :id => form_tag_id( f.object_name, :identify_author_no )) %> <%= l(:identify_author_no) %> </label><br />
15
    </p>
16
  </div>
17

    
18
  <div class='author_edit' id="<%= form_tag_id( f.object_name, :edit_author_info ) %>">
19
    <p><%= f.text_field :name_on_paper -%></p>
20
    <p class="description"><%= h l("text_author_name_on_paper") -%></p>
21

    
22
    <p><%= f.text_field :institution -%></p>
23
    <p class="description"><%= h l("text_author_institution") %></p>
24

    
25
    <p><%= f.text_field :email -%></p>
26
    <p class="description"><%= h l("text_author_email") %></p>
27

    
28
    <%= hidden_field_tag(:search_author_class, '', :name => form_tag_name(f.object_name,:search_author_class ), :id => form_tag_id( f.object_name, :search_author_class )) -%>
29
    <%= hidden_field_tag(:search_author_id, '', :name => form_tag_name(f.object_name,:search_author_id ), :id => form_tag_id( f.object_name, :search_author_id )) -%>
30
  </div>
31

    
32
  <div>
33
    <p>
34
      <%= button_to_function l(:label_save_author), '', :id => form_tag_id(f.object_name, :edit_save_button), :class => 'author_save_btn' -%>
35

    
36
      <%= button_to_function l(:label_edit_author), '', :id => form_tag_id(f.object_name, :edit_button), :class => 'author_edit_btn' -%>
37

    
38
      <%= link_to_remove_fields l("remove_author"), f %>
39
    </p>
40
  </div>
41
</div>
42