X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ecfef49e9e1485f17161eab42906cca16ec5899..0e810db9277bbeff0bd92f73e3886010d14b4377:/app/views/user/new.html.erb
diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb
index d7e9bd63d..7fd537d14 100644
--- a/app/views/user/new.html.erb
+++ b/app/views/user/new.html.erb
@@ -1,103 +1,82 @@
+<% content_for :head do %>
+ <%= javascript_include_tag "user" %>
+<% end %>
+
<% content_for :heading do %>
-
<%= t 'user.new.title' %>
+ <%= t '.title' %>
<% end %>
-<%= form_for :user, :url => { :action => 'create' }, :html => { :class => 'standard-form fillL col6 inner22' } do %>
+<%= form_for current_user, :url => { :action => 'create' }, :html => { :class => 'standard-form fillL col6 inner22' } do |f| %>
<%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
-