Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5131285
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
Mon, Aug 17, 2:02 PM
Size
489 B
Mime Type
text/plain
Expires
Wed, Aug 19, 2:02 PM (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
375516
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