X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/22594361d5abd2a6ee18e290058d9d39d7d761ec..b63ce5d460cf794602aa7996cdd857dc39faa3d9:/app/views/user/new.html.erb diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index 9fcbfdcba..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' %>

@@ -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' %>