Sha256: 21546e0a0e5bf4e9b5d86fc77dd35dbcf5d7ab68c7e6864750a07db0d5abd1fb
Contents?: true
Size: 847 Bytes
Versions: 17
Compression:
Stored size: 847 Bytes
Contents
<div class="login-portlet"> <% if logged_in? %> <p>Welcome, <%= current_user.login %></p> <p><%= link_to "Logout", '' %></p> <p><%#= link_to "Logout", cms.logout_path %></p> <% else %> <div class="error"><%= flash[:login_error] %></div> <%= form_tag '' do %> <%#= 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
17 entries across 17 versions & 1 rubygems