Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1614674
token.html.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Mar 21, 2:34 AM
Size
489 B
Mime Type
text/plain
Expires
Mon, Mar 23, 2:34 AM (3 h, 47 m)
Engine
blob
Format
Raw Data
Handle
354140
Attached To
rWEBDNS WebDNS (edet4)
token.html.erb
View Options
<div>
<h1>API access token</h1>
<p>
<%=
bootstrap_form_for
(
@user
,
url
:
generate_token_user_path
(
@user
),
method
:
:post
)
do
|
f
|
%>
<div class="input-group">
<span class="input-group-addon">Token</span>
<input type="text" class="form-control" value="
<%=
@user
.
token
%>
" readonly>
</div>
</p>
<p>
<%=
f
.
submit
'Generate'
,
class
:
'btn btn-primary'
%>
<%=
link_to
'API Documentation'
,
help_api_path
,
class
:
'btn btn-default'
%>
</p>
<%
end
%>
</div>
Event Timeline
Log In to Comment