From: Eric Davis Date: Sat, 19 Jun 2010 16:50:13 +0000 (+0000) Subject: Fixed HTML validation errors X-Git-Tag: 1.0.0~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=43fabab9501e93fdd3d10b4fb5336d77f7313bcb;p=redmine.git Fixed HTML validation errors git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3775 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/my/_sidebar.rhtml b/app/views/my/_sidebar.rhtml index 0a95acfea..2089feeac 100644 --- a/app/views/my/_sidebar.rhtml +++ b/app/views/my/_sidebar.rhtml @@ -17,10 +17,10 @@ <% if Setting.rest_api_enabled? %>

<%= l(:label_api_access_key) %>

-

+

<%= link_to_function(l(:button_show), "$('api-access-key').toggle();")%>
<%= @user.api_key %>
-

+
<%= javascript_tag("$('api-access-key').hide();") %>

<% if @user.api_token %>