login.html.erb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:1k
源码类别:

Ajax

开发平台:

Others

  1. <%= content_tag :h3, link_to(image_tag("/images/admin/typologo.gif", :alt=>"Typo website"), "http://typosphere.org") %>
  2. <div id="flash"><%= render_the_flash %></div>
  3.     
  4. <% form_tag :action=> "login" do %>
  5.   <h3><label for="user_login"><%= _('Login')%></label></h3>
  6.   <p class='input_text_title'>
  7.     <%= text_field(:user, :login, {:class => 'title large'})%>
  8.   </p>
  9.   <h3><label for="user_password"><%= _('Password')%></label></h3>
  10.   <p class='input_text_title'>
  11.     <%= password_field(:user, :password, {:class => 'title large'})%>
  12.   </p>
  13.   <label for="remember_me"><%= _('Remember me')%>
  14.     <%= check_box_tag 'remember_me' %>  
  15.   </label>
  16.   <p>
  17.     <input type="submit" name="login" value= "<%= _('Submit') %>" class="save large" id="submit" />
  18.   </p>
  19.   <p>
  20.     <small><%= link_to "&laquo; #{_('Back to ')} #{this_blog.blog_name}", this_blog.base_url %></small><br />
  21.     <small><%= link_to "#{_("I've lost my password")} &raquo;", :action => 'recover_password' %></small>
  22.   </p>
  23. <% end %>