Sha256: d88b84352d6c096b2d977178c2f022990d1abc1bc8fcd81ce37bc58ceffc9b19
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
<h2><%= @PAGE_TITLE = "Edit API User: #{@api_user.name}" %></h2> <%= simple_form_for [:a, @api_user], html: { class: 'form-horizontal' } do |f| %> <%= f.error_notification %> <fieldset> <%= render 'form_fields', f: f %> <% if f.object.persisted? %> <%= f.input :auth_token, disabled: true %> <%= link_to "Reset Token", reset_token_a_api_user_path(f.object), method: :put, data: { confirm: "WARNING: Resetting the token will immediately cause all API calls for this account to stop working.\nClick OK to reset the API token for #{@api_user.name}.\nClick CANCEL to return to editing."} %> <% end %> <div class="form-actions"> <%= f.submit "Update", class: "btn btn-primary" %> <%= link_to("Delete", a_api_user_path(@api_user), class: "btn btn-danger pull-right", method: :delete, data: { confirm: "Click OK to delete this API User.\n" \ "Click CANCEL to return to editing." } ) %> </div> </fieldset> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asset_host_core-2.0.0.beta | app/views/asset_host_core/admin/api_users/edit.html.erb |