Sha256: 03f2d9d2af164d105cb35919c4052d9eaf57505c337d3f2946170b97159f1b35

Contents?: true

Size: 1.01 KB

Versions: 13

Compression:

Stored size: 1.01 KB

Contents

  <div class="proxy-rights">

    <fieldset class="span12">
      <legend>Authorize Proxy</legend>

      Search <%=text_field_tag :user, '', "data-url"=>"/people" %>

      <table class="table table-condensed" id='authorizedProxies'>
        <caption>Currently Authorized</caption>
        <tbody>
          <% @grantor.user.can_receive_deposits_from.each do |depositor| %>
            <tr><td><%= depositor.name %></td>
              <td><%=link_to(person_depositor_path(@grantor, depositor.person), method: :delete, class: "remove-proxy-button") do %>
                <i class="icon-remove"></i><% end %>
              </td></tr>
          <% end %>
        </tbody>
      </table>

      <script type="text/x-handlebars-template" id="tmpl-proxy-row">
        <tr><td>{{ name }}</td>
          <td><a class="remove-proxy-button" data-method="delete" href="/people/rj43kv61h/depositors/{{ id }}" rel="nofollow">
            <i class="icon-remove"></i>
          </a>
        </td></tr>
      </script>
    </fieldset>

  </div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 app/views/curate/depositors/index.html.erb
curate-0.6.5 app/views/curate/depositors/index.html.erb
curate-0.6.4 app/views/curate/depositors/index.html.erb
curate-0.6.3 app/views/curate/depositors/index.html.erb
curate-0.6.1 app/views/curate/depositors/index.html.erb
curate-0.6.0 app/views/curate/depositors/index.html.erb
curate-0.5.6 app/views/curate/depositors/index.html.erb
curate-0.5.5 app/views/curate/depositors/index.html.erb
curate-0.5.4 app/views/curate/depositors/index.html.erb
curate-0.5.2 app/views/curate/depositors/index.html.erb
curate-0.5.1 app/views/curate/depositors/index.html.erb
curate-0.5.0 app/views/curate/depositors/index.html.erb
curate-0.4.2 app/views/curate/depositors/index.html.erb