-
- |
- <%= text_field_tag("username", "", { :size => 28, :maxlength => 255, :tabindex => 1 }) %> |
-
-
- |
- <%= password_field_tag("password", "", { :size => 28, :maxlength => 255, :tabindex => 2 }) %> |
-
+ <%= t 'user.login.no account' %> <%= link_to t('user.login.register now'), :action => :new, :referer => params[:referer] %>
+
+
- <%= submit_tag t('user.login.login_button'), :tabindex => 4 %>
-
+
-
-
+ <%= t 'user.login.with openid' %>
-
-
<%= t 'user.login.openid_heading' %>
-
- <%=
- link_to_function(image_tag("openid_large.png", :alt => t("user.login.openid_providers.openid.title")), nil, :title => t("user.login.openid_providers.openid.title")) do |page|
- page[:login_form][:openid_url].value = "http://"
- page[:openid_buttons].hide
- page[:openid_url].show
- page[:openid_url_hint].show
- page[:openid_submit].show
- end
- %>
- <%= openid_button "yahoo", "me.yahoo.com" %>
- <%= openid_button "google", "gmail.com" %>
- <%= openid_button "myopenid", "myopenid.com" %>
- <%= openid_button "wordpress", "wordpress.com" %>
- <%= openid_button "myspace", "myspace.com" %>
-
+
-
+
- <%= t 'user.login.openid', :logo => openid_logo %>
+ <%= raw t 'user.login.openid', :logo => openid_logo %>
|
- <%= text_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %> |
-
-
- |
+ <%= url_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %>
(<%= t 'user.account.openid.link text' %>)
|
@@ -71,15 +57,26 @@
- <%= submit_tag t('user.login.login_button'), :tabindex => 6, :id => "openid_submit" %>
-
+ <%= submit_tag t('user.login.login_button'), :tabindex => 6, :id => "login_openid_submit" %>
+ <% end %>
+
+
-<% end %>
+
+
+