Mercurial > hg > soundsoftware-site
annotate plugins/redmine_bibliography/app/views/publications/_authorship_fields.html.erb @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | a9cfc6dcfb83 |
children |
rev | line source |
---|---|
luis@481 | 1 <div id="authors" class="fields"> |
luis@1394 | 2 <div class="author_edit" id="<%= form_tag_id( f.object_name, :edit_author_info ) %>"> |
luis@1394 | 3 |
luis@1422 | 4 <p><%= f.label :name_on_paper %><%= f.text_field :name_on_paper, :class => "author_name_on_paper" -%></p> |
luis@1422 | 5 <p><%= f.label :institution %><%= f.text_field :institution -%></p> |
luis@1422 | 6 <p><%= f.label :email %><%= f.text_field :email -%></p> |
luis@1394 | 7 |
luis@1403 | 8 <p class="author_associated search_author_tie"> |
luis@1407 | 9 <%= f.check_box :search_author_tie, :label => '' -%> |
luis@1434 | 10 <% unless f.object.search_author_tie %> |
luis@1434 | 11 <span>Not associated with any SoundSoftware site user.</span> |
luis@1434 | 12 <% else %> |
luis@1434 | 13 <span>Associated with <%= render_authorship_link(f.object.search_author_class, f.object.search_author_id) -%>.</span> |
luis@1434 | 14 <% end %> |
luis@1281 | 15 </p> |
chris@573 | 16 |
luis@1403 | 17 <%= f.hidden_field :search_author_class -%> |
luis@1403 | 18 <%= f.hidden_field :search_author_id -%> |
luis@601 | 19 </div> |
luis@1274 | 20 |
luis@1377 | 21 <div> |
luis@1377 | 22 <p> |
luis@1378 | 23 <%= button_to_function l(:label_save_author), '', :id => form_tag_id(f.object_name, :edit_save_button), :class => 'author_save_btn' -%> |
luis@1380 | 24 |
luis@1408 | 25 <%= button_to_function l(:label_edit_author), '', :id => form_tag_id(f.object_name, :edit_button), :class => 'author_edit_btn', :style => "display:none;" -%> |
luis@1380 | 26 |
luis@1377 | 27 <%= link_to_remove_fields l("remove_author"), f %> |
luis@1377 | 28 </p> |
luis@1377 | 29 </div> |
luis@1394 | 30 </div> |