<%= call_hook :view_account_login_top %>
<%= form_tag(signin_path) do %> <%= back_url_hidden_field_tag %> <% if Setting.openid? %> <% end %>
<%= text_field_tag 'username', params[:username], :tabindex => '1' %>
<%= password_field_tag 'password', nil, :tabindex => '2' %>
<%= text_field_tag "openid_url", nil, :tabindex => '3' %>
<% if Setting.autologin? %> <% end %>
<% if Setting.lost_password? %> <%= link_to l(:label_password_lost), lost_password_path %> <% end %>
<% end %>
<%= call_hook :view_account_login_bottom %> <% if params[:username].present? %> <%= javascript_tag "$('#password').focus();" %> <% else %> <%= javascript_tag "$('#username').focus();" %> <% end %>

<%=link_to "发布需求",home_path %>

<%=link_to "发现开源",home_path %>

<%=link_to "创建项目",:controller=>'projects',:action=>'index' %>