<% @page_title = "Personal access tokens" %> <% content_for :header do %>
<%= back_link_to "My profile", user_path(Current.user), "keydown.left@document->hotkey#click keydown.esc@document->hotkey#click" %>

<%= @page_title %>

<% end %>
<% if @access_tokens.any? %>

Tokens you have generated that can be used to access the Fizzy API.

<%= render partial: "my/access_tokens/access_token", collection: @access_tokens %>
Description Permission Created
<% else %>

Personal access tokens can be used like a password to access the Fizzy developer API. You can have as many tokens as you need and revoke access to each one at any time.

<% end %> <%= link_to new_my_access_token_path, class: "btn btn--link" do %> <%= icon_tag "add" %> Generate a new access token <% end %>