annotate plugins/redmine_bibliography/app/views/publications/_authorship_fields.html.erb @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents bb51e86fa182
children f0da42a09a3c
rev   line source
luis@1281 1 <% content_for :header_tags do %>
luis@1281 2 <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %>
luis@1281 3 <% end %>
luis@603 4
luis@481 5 <div id="authors" class="fields">
luis@1281 6 <div id="<%= form_tag_id( f.object_name, :search_author ) %>" style=<%= "display:none;" unless params[:action] == "new" %> >
luis@1281 7 <p>
luis@1281 8 <%= f.text_field :search_name, :size => 25, :class => "author_search" %>
luis@1281 9 </p>
chris@573 10
luis@1281 11 <p style="margin-bottom: -2.5em; padding-bottom; 0"><label><%= l(:identify_author_question) %></label></p>
luis@1289 12
luis@1281 13 <p class="author_identify">
luis@1292 14 <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 />
chris@615 15
luis@1292 16 <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 />
luis@1274 17
luis@1292 18 <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 />
luis@597 19 </p>
luis@1274 20 </div>
luis@1274 21
chris@623 22 <div class='author_edit' id="<%= form_tag_id( f.object_name, :edit_author_info ) %>">
luis@609 23 <p>
chris@623 24 <%= f.text_field :name_on_paper, {:class => ("readonly" unless params[:action] == "new") } %></p>
chris@623 25 <p class='description' style=<%= "display:none;" unless params[:action] == "new" %>><%= h l("text_author_name_on_paper") %></p>
chris@623 26 <p><%= f.text_field :institution, {:class => ("readonly" unless params[:action] == "new") } %></p>
chris@623 27 <p class='description' style=<%= "display:none;" unless params[:action] == "new" %>><%= h l("text_author_institution") %></p>
chris@623 28 <p><%= f.text_field :email, {:class => ("readonly" unless params[:action] == "new") } %></p>
chris@623 29 <p class='description' style=<%= "display:none;" unless params[:action] == "new" %>><%= h l("text_author_email") %></p>
luis@609 30 </p>
luis@1286 31 <%= 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 )) -%>
luis@1285 32
luis@1286 33 <%= 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 )) -%>
luis@601 34 </div>
luis@1274 35
luis@603 36
luis@603 37 <div class="box" id="<%= form_tag_id( f.object_name, :show_author_info ) %>" style="display: none">
luis@1274 38
luis@603 39 </div>
luis@603 40
chris@623 41 <p>
luis@660 42
luis@1292 43 <%= button_to_function l(:label_save_author), {}, :id => form_tag_id( f.object_name, :edit_save_button ) %>
luis@603 44
luis@601 45 <%= link_to_remove_fields l("remove_author"), f %>
chris@623 46 </p>
luis@605 47 </div>
chris@619 48 <br/>