@@ -17,10 +17,10 | |||
|
17 | 17 | |
|
18 | 18 | <% if Setting.rest_api_enabled? %> |
|
19 | 19 | <h4><%= l(:label_api_access_key) %></h4> |
|
20 | <p> | |
|
20 | <div> | |
|
21 | 21 | <%= link_to_function(l(:button_show), "$('api-access-key').toggle();")%> |
|
22 | 22 | <pre id='api-access-key' class='autoscroll'><%= @user.api_key %></pre> |
|
23 |
</ |
|
|
23 | </div> | |
|
24 | 24 | <%= javascript_tag("$('api-access-key').hide();") %> |
|
25 | 25 | <p> |
|
26 | 26 | <% if @user.api_token %> |
General Comments 0
You need to be logged in to leave comments.
Login now