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

Version Path
SFEley-browsercms-3.0.2 app/views/portlets/login/render.html.erb
buzzware-browsercms-3.0.2 app/views/portlets/login/render.html.erb
coredumplings-browsercms-3.0.0 app/views/portlets/login/render.html.erb
nate-browsercms-3.0.210 app/views/portlets/login/render.html.erb
nate-browsercms-3.0.211 app/views/portlets/login/render.html.erb
we5-browsercms-3.0.1.1 app/views/portlets/login/render.html.erb
webficient-browsercms-3.0.1 app/views/portlets/login/render.html.erb
webficient-browsercms-3.0.2 app/views/portlets/login/render.html.erb
webficient-browsercms-3.0.3 app/views/portlets/login/render.html.erb
webficient-browsercms-3.0.4 app/views/portlets/login/render.html.erb
browsercms-3.1.5 app/views/portlets/login/render.html.erb
browsercms-3.1.4 app/views/portlets/login/render.html.erb
browsercms-3.1.3 app/views/portlets/login/render.html.erb
bf4-browsercms-3.1.0 app/views/portlets/login/render.html.erb
drujensen-browsercms-3.2.0 app/views/portlets/login/render.html.erb
browsercms-3.1.2 app/views/portlets/login/render.html.erb
browsercms-3.1.1 app/views/portlets/login/render.html.erb
browsercms-3.1.0 app/views/portlets/login/render.html.erb
we5-browsercms-3.1.0 app/views/portlets/login/render.html.erb
browsercms-3.0.6 app/views/portlets/login/render.html.erb