diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index d5cb677e2..dac149745 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -66,16 +66,96 @@ - --> - -
Trustieforge是一个社交化的项目管理、软件开发和众包平台。 |
Trustieforge is a socialized collaboration platform for project management, + software development and software crowdsourcing. |
<%= call_hook :view_account_login_top %>
<%= form_tag(signin_path) do %>
<%= back_url_hidden_field_tag %>
- <% unless User.current.logged? %>
+ <% unless User.current.logged? %>
+
+<%= call_hook :view_account_login_bottom %>
+
+<% if params[:username].present? %>
+<%= javascript_tag "$('#password').focus();" %>
+<% else %>
+<%= javascript_tag "$('#username').focus();" %>
+<% end %>
+
+
|
Trustieforge 是一个社交化的项目管理、软件开发和众包平台。 |
Trustieforge is a socialized collaboration platform for project management, + software development and software crowdsourcing. |
+ <%= call_hook :view_account_login_top %>
+
+ <%= form_tag(signin_path) do %>
+ <%= back_url_hidden_field_tag %>
+ <% unless User.current.logged? %>
|