metamaps--metamaps/views/tokens/new.html.erb

6 lines
210 B
Text
Raw Normal View History

<%= form_for @token, url: '/api/v2/tokens', method: :post do |form| %>
<h4>Request new API Token</h4>
<%= form.text_field :description, placeholder: "Token description..." %>
<%= form.submit %>
<% end %>