Sha256: a1c1c2d59170ac5678e52c500b593eea8e16824bac086f5c43cca988f7796010

Contents?: true

Size: 881 Bytes

Versions: 13

Compression:

Stored size: 881 Bytes

Contents

<%# This partial needs work -- needs to be progressively enhanceable AND work with JQuery UI Split Button #%>
<div id="add-contributor-box">
  <input id="re-run-add-contributor-action" type="button" value="Add a researcher" style="display:none"/>
  <button id="select-contributor-type" type="button" style="display:none">Select type of contributor to add</button>
  <ul id="add-contributor-menu">
    <li id="add_person"><%= link_to "Add a Person", new_hydra_asset_contributor_path(:asset_id=>params[:id], :contributor_type=>"person") %></li>
    <li id="add_organization"><%= link_to "Add an Organization", new_hydra_asset_contributor_path(:asset_id=>params[:id], :contributor_type=>"organization") %></li>
    <li id="add_conference"><%= link_to "Add a Conference", new_hydra_asset_contributor_path(:asset_id=>params[:id], :contributor_type=>"conference") %></li>
  </ul>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hydra-head-4.1.3 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.1.2 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.1.1 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.1.0 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.3 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.2 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.1 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.0 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.0.rc6 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.0.rc5 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.0.rc4 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.0.rc3 app/views/contributors/_add_contributor_split_button.html.erb
hydra-head-4.0.0.rc2 app/views/contributors/_add_contributor_split_button.html.erb