To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / plugins / redmine_bibliography / app / views / publications / _authorship_fields.html.erb @ 1378:0b2a75f60952
History | View | Annotate | Download (2.78 KB)
| 1 | 1377:f0da42a09a3c | luis | <%- content_for :header_tags do -%>
|
|---|---|---|---|
| 2 | <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' -%>
|
||
| 3 | 1378:0b2a75f60952 | luis | <%= javascript_include_tag 'bibliography', :plugin => 'redmine_bibliography' -%>
|
| 4 | <%= javascript_tag "$('.author_save_btn').live('click', toggle_fields);" -%>
|
||
| 5 | 1377:f0da42a09a3c | luis | <%- end -%>
|
| 6 | 603:7b39f35803f3 | luis | |
| 7 | 481:dd242ea99fd3 | luis | <div id="authors" class="fields"> |
| 8 | 1281:e9bfba17e791 | luis | <div id="<%= form_tag_id( f.object_name, :search_author ) %>" style=<%= "display:none;" unless params[:action] == "new" %> > |
| 9 | <p>
|
||
| 10 | <%= f.text_field :search_name, :size => 25, :class => "author_search" %>
|
||
| 11 | </p>
|
||
| 12 | 573:aed210f6095b | chris | |
| 13 | 1281:e9bfba17e791 | luis | <p style="margin-bottom: -2.5em; padding-bottom; 0"><label><%= l(:identify_author_question) %></label></p> |
| 14 | 1289:7fa299909144 | luis | |
| 15 | 1281:e9bfba17e791 | luis | <p class="author_identify"> |
| 16 | 1292:bb51e86fa182 | luis | <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 /> |
| 17 | 615:c4ddb9531f4c | chris | |
| 18 | 1292:bb51e86fa182 | luis | <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 /> |
| 19 | 1274:5ea1a213c7a5 | luis | |
| 20 | 1377:f0da42a09a3c | luis | <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 /> |
| 21 | </p>
|
||
| 22 | 1274:5ea1a213c7a5 | luis | </div>
|
| 23 | |||
| 24 | 623:a434a588f16c | chris | <div class='author_edit' id="<%= form_tag_id( f.object_name, :edit_author_info ) %>"> |
| 25 | 1377:f0da42a09a3c | luis | <p><%= f.text_field :name_on_paper, {:class => ("readonly" unless params[:action] == "new") } %></p> |
| 26 | <p class='description' style=<%= "display:none;" unless params[:action] == "new" %>><%= h l("text_author_name_on_paper") %></p> |
||
| 27 | 1285:22551cc54749 | luis | |
| 28 | 1377:f0da42a09a3c | luis | <p><%= f.text_field :institution, {:class => ("readonly" unless params[:action] == "new") } %></p> |
| 29 | <p class='description' style=<%= "display:none;" unless params[:action] == "new" %>><%= h l("text_author_institution") %></p> |
||
| 30 | <p><%= f.text_field :email, {:class => ("readonly" unless params[:action] == "new") } %></p> |
||
| 31 | <p class='description' style=<%= "display:none;" unless params[:action] == "new" %>><%= h l("text_author_email") %></p> |
||
| 32 | |||
| 33 | <%= 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 )) -%>
|
||
| 34 | |||
| 35 | <%= 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 )) -%>
|
||
| 36 | 601:1608b3cb50cd | luis | </div>
|
| 37 | 1274:5ea1a213c7a5 | luis | |
| 38 | 1377:f0da42a09a3c | luis | <div>
|
| 39 | <p>
|
||
| 40 | 1378:0b2a75f60952 | luis | <%= button_to_function l(:label_save_author), '', :id => form_tag_id(f.object_name, :edit_save_button), :class => 'author_save_btn' -%>
|
| 41 | 1377:f0da42a09a3c | luis | <%= link_to_remove_fields l("remove_author"), f %>
|
| 42 | </p>
|
||
| 43 | </div>
|
||
| 44 | </div>
|