X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56fd5c4d90c7d3757fb97ff16c40aaa307ae1d22..b4106383d99ccbf152d79b0f2c9deca95df9fb61:/app/views/user/new.html.erb
diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb
index d1772f996..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? %>
-