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

Version Path
browsercms-3.5.7 app/views/portlets/login/render.html.erb
browsercms-3.5.6 app/views/portlets/login/render.html.erb
browsercms-3.5.5 app/views/portlets/login/render.html.erb
browsercms-3.5.4 app/views/portlets/login/render.html.erb
browsercms-3.5.3 app/views/portlets/login/render.html.erb
browsercms-3.5.2 app/views/portlets/login/render.html.erb
browsercms-3.5.1 app/views/portlets/login/render.html.erb
browsercms-3.5.0 app/views/portlets/login/render.html.erb
browsercms-3.5.0.rc3 app/views/portlets/login/render.html.erb
browsercms-3.5.0.rc2 app/views/portlets/login/render.html.erb
browsercms-3.5.0.rc1 app/views/portlets/login/render.html.erb
browsercms-3.4.2 app/views/portlets/login/render.html.erb
browsercms-3.4.2.rc1 app/views/portlets/login/render.html.erb
browsercms-3.4.1 app/views/portlets/login/render.html.erb
browsercms-3.4.0 app/views/portlets/login/render.html.erb
browsercms-3.4.0.rc2 app/views/portlets/login/render.html.erb
browsercms-3.4.0.rc1 app/views/portlets/login/render.html.erb