Sha256: d8f609c92d9064ac202bf7ca7638abd20b34f1bcc65b421617a25bf262645815

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

= content_for(:javascript_epilogue) do
  :plain
    document.observe("dom:loaded", function() {
      new Effect.Move("standalone", { x:0, y:-16, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
        new Effect.Move("standalone", { x:0, y:16, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
          new Effect.Move("standalone", { x:0, y:-8, mode:"relative", fps:100, duration:0.15, afterFinishInternal: function(effect) {
            new Effect.Move("standalone", { x:0, y:8, mode:"relative", fps:100, duration:0.15 });
          }});
        }});
      }});
    });

.standalone#standalone
  -# The following form gets submitted to #create when @authentication is nil,
  -# or to #update when @authentication is not nil (ex. suspended).
  = form_for @authentication, :url => authentication_path, :html => one_submit_only do |f|
    - if can_signup?
      .title_tools #{t :no_account} #{link_to t(:sign_up_now), signup_path}
    .title= t(:login)
    .section
      .label= t(:username) + ':'
      = f.text_field :username
      .label= t(:password) + ':'
      = f.password_field :password

    %div(style="margin-left:12px") #{f.check_box(:remember_me)} #{t :remember_me}
    %br
    .buttonbar
      = f.submit t(:login)
      #{t :or}
      = link_to t(:forgot_password) << '?', new_password_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.13.4 app/views/authentications/new.html.haml
fat_free_crm-0.13.3 app/views/authentications/new.html.haml
fat_free_crm-0.13.2 app/views/authentications/new.html.haml
fat_free_crm-0.13.1 app/views/authentications/new.html.haml
fat_free_crm-0.13.0 app/views/authentications/new.html.haml