Sha256: 77cae287896a2db5f4b461885ded8a369cc22cef22ba1b2434e42e9e3a3a3777

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<h1>Transfer ownership of "<%= @proxy_deposit_request.to_s %>"</h1>
<span class="sr-only">Select a user to transfer <%= @proxy_deposit_request.to_s %> to, add optional comments and then press transfer.</span>
<%= form_for @proxy_deposit_request,
             url: hyrax.work_transfers_path(@work),
             html: { class: 'form-horizontal', id: 'new_transfer' } do |f| %>
  <%= error_messages_for(f.object) %>
  <div class="control-group">
    <%= f.label :transfer_to, "User", class: 'control-label' %>
    <div class="controls">
      <%= f.text_field :transfer_to, "aria-hidden" => true %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :sender_comment, "Comments", class: 'control-label' %>
    <div class="controls">
    <%= f.text_area :sender_comment %>
    </div>
  </div>

  <div class="form-actions">
    <%= f.submit "Transfer", class: 'btn btn-primary', data: {confirm: "Are you sure you want to transfer ownership of this work to another user? Click Ok to transfer or Cancel to return to the transfer screen"} %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
hyrax-1.0.2 app/views/hyrax/transfers/new.html.erb
hyrax-1.0.1 app/views/hyrax/transfers/new.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/transfers/new.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/transfers/new.html.erb
test_hyrax-0.0.1.alpha app/views/hyrax/transfers/new.html.erb