d8698ef6f2
* Update restful_controller.rb * Update tokens_controller.rb * /tokens/new form * thats all
5 lines
210 B
Text
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 %>
|