X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/039bfc728ea223119941594373a074bf798da19d..d7063ab0a9db4cb833e89c5cde08c005b7940c9a:/app/views/user/new.html.erb?ds=inline
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? %>
-