From 5444e961b31dc6807923737d974f8db398ba0814 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sat, 19 Jun 2010 17:35:19 +0200 Subject: [PATCH] Fixed HTML validation errors --- app/views/my/_sidebar.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %>