Sha256: 8d2e6634e6d502a93dba6afa2f778424738799b32cbe0c4a58dd35e3194635a1
Contents?: true
Size: 779 Bytes
Versions: 32
Compression:
Stored size: 779 Bytes
Contents
<div class="login-portlet"> <% if logged_in? %> <p>Welcome, <%= current_user.login %></p> <p><%= link_to "Logout", cms_logout_path %></p> <% else %> <div class="error"><%= flash[:login_error] %></div> <% form_tag cms_login_path do %> <%= hidden_field_tag :success_url, @success_url %> <%= hidden_field_tag :failure_url, @failure_url %> <p> <%= label_tag :login %> <%= text_field_tag :login, @login %> </p> <p> <%= label_tag :password %> <%= password_field_tag :password %> </p> <p> <%= label_tag :remember_me %> <%= check_box_tag :remember_me, '1', @remember_me %> </p> <p> <%= submit_tag "Login" %> </p> <% end %> <% end %> </div>
Version data entries
32 entries across 32 versions & 10 rubygems