X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..b63ce5d460cf794602aa7996cdd857dc39faa3d9:/app/views/user/new.html.erb
diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb
index a988afd80..a829773f0 100644
--- a/app/views/user/new.html.erb
+++ b/app/views/user/new.html.erb
@@ -1,6 +1,6 @@
<%= t 'user.new.heading' %>
-<% if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"}) %>
+<% if Acl.address(request.remote_ip).where(:k => "no_account_creation").exists? %>
<%= t 'user.new.no_auto_account_create' %>
@@ -26,7 +26,7 @@
|
- <%= t 'user.new.not displayed publicly' %> |
+ <%= raw(t 'user.new.not displayed publicly') %> |
|
@@ -59,7 +59,7 @@
|
- <%= link_to_function(t('user.new.use openid', :logo => openid_logo), "enableOpenID()") %>
+ <%= link_to_function(raw(t('user.new.use openid', :logo => openid_logo)), "enableOpenID()") %>
<%= t 'user.new.openid no password' %>
|