Sha256: 4918462c0fce8d26f1393d74abee9e87adc48cc29ee9a82e339cf62ac7850b5c

Contents?: true

Size: 1.43 KB

Versions: 32

Compression:

Stored size: 1.43 KB

Contents

<% page_title "CMS Login" %>
<% content_for :html_head do %>
  <% javascript_tag do %>
      jQuery(function($){
        $('#login_button').hover(function(){
          $('#login_button').css('background-image', 'url(/images/cms/buttons/button_cap_h.png)');
          $('#login_button > input').css('background-image', 'url(/images/cms/buttons/button_h.png)');
        }, function(){
          $('#login_button').css('background-image', 'url(/images/cms/buttons/button_cap.png)');
          $('#login_button > input').css('background-image', 'url(/images/cms/buttons/button.png)');
  })});
  <% end %>
<% end %>

<% @login ||= "Username" %>
<% @password ||= "Password" %>
<% form_tag cms_login_path, :id => 'login_form' do %>
  <div class="field">
    <%= text_field_tag 'login', @login, :onfocus => "if(this.value == 'Username') this.value = '';", :onblur => "if(this.value == '') this.value = 'Username';", :tabindex => 1 %>
  </div>
  <div class="field">
    <%= password_field_tag 'password', @password, :onfocus => "if(this.value == 'Password') this.value = '';", :onblur => "if(this.value == '') this.value = 'Password';", :tabindex => 2 %>
  </div>
  <div class="buttons">
    <div id="login_button"><%= submit_tag("LOGIN") %></div>
  <div id="remember_me_div">
    <%= label_tag 'remember_me', 'Remember me', :class => "inline" %>
   <%= check_box_tag 'remember_me', '1', @remember_me, :tabindex => 3 %>
   <br clear="all" />
  </div>
  </div>
<% end %>

Version data entries

32 entries across 32 versions & 10 rubygems

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