From c7ffb35e8b07255796e62e52a6a23950f88ae093 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 22 May 2011 16:16:44 +0100 Subject: [PATCH] Correct some minor html validation errors --- app/helpers/application_helper.rb | 2 +- app/views/user/login.html.erb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c24e7ff5b..6e2ecd323 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -50,7 +50,7 @@ module ApplicationHelper css << ".show_if_user_#{@user.id} { display: inline }" if @user; css << ".hide_unless_administrator { display: none }" unless @user and @user.administrator?; - return content_tag(:style, css) + return content_tag(:style, css, :type => "text/css") end def if_logged_in(tag = :div, &block) diff --git a/app/views/user/login.html.erb b/app/views/user/login.html.erb index 66a2fab99..7cc4b6f24 100644 --- a/app/views/user/login.html.erb +++ b/app/views/user/login.html.erb @@ -13,13 +13,13 @@ <%= submit_tag t('user.login.login_button'), :tabindex => 3 %> <% end %> -
+

<%= t 'user.login.new to osm' %>

<%= t 'user.login.to make changes' %>

-

<%= t 'user.login.create account minute' %>

+

<%= t 'user.login.create account minute' %>

<%= button_to t('user.login.register now'), :action => :new, :referer => params[:referer] %>

-
+
-- 2.43.2