]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/new.html.erb
Prefer string interpolation to concatenation in erb files
[rails.git] / app / views / users / new.html.erb
index ba0987c33a85a3ef156a2b6404d781e1d468647f..6f97a284a583559d94c977fb2ab0de4f332c4ae6 100644 (file)
@@ -52,7 +52,7 @@
           <label for="openid_url" class="standard-label">
             <%= t ".external auth" %>
           </label>
-          <%= f.select(:auth_provider, Auth::PROVIDERS, :default => "", :tabindex => 4) %>
+          <%= f.select(:auth_provider, Auth.providers, :default => "", :tabindex => 4) %>
           <%= f.text_field(:auth_uid, :tabindex => 5) %>
           <%= f.error_message_on(:auth_uid) %>
         </div>