%= form_for @user, url: sufia.profile_path(@user.to_param), html: {multipart: true, class: 'form-horizontal' } do |f| %>
<% if Sufia.config.arkivo_api %>
<%= render partial: 'zotero', locals: { f: f, user: @user } %>
<% end %>
<%= render 'trophy_edit', trophies: @trophies %>
<%= f.button ' Save Profile'.html_safe, type: 'submit', class: "btn btn-primary" %>
<% end %>
<%= render 'dashboard/_index_partials/proxy_rights', user: @user %>