metamaps--metamaps/app/views/tokens/new.html.erb
Connor Turland d8698ef6f2 api stuffs (#1069)
* Update restful_controller.rb

* Update tokens_controller.rb

* /tokens/new form

* thats all
2017-02-11 19:29:03 -05:00

5 lines
210 B
Text

<%= 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 %>