Sha256: 2fb5bbf0f63fd141c5e4554c27d566859869b445096ff6f22e1bc76da6aa567c

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

!!! Strict
%html{:lang => "en", :xmlns => "http://www.w3.org/1999/xhtml"}
  %head
    %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
    %title <%= options[:name] %>
    =stylesheet_link_tag :base, "themes/<%= options[:theme] %>/style"
  %body
    #container
      #box
        %h1 <%= options[:name] %>
        #block-login.block
          %h2 Login Box
          .content.login
            .flash=[:error, :warning, :notice].map { |type| flash_tag(type, :class => "message #{type}") }.join
            -form_tag(url(:sessions, :create), :class => 'form login') do
              .group.wat-cf
                .left
                  %label.label.right Login
                .right=text_field_tag :email, :value => params[:email], :class => :text_field
              .group.wat-cf
                .left
                  %label.label.right Password
                .right=password_field_tag :password, :value => params[:password], :class => :text_field
              -if Padrino.env == :development
                .group.wat-cf
                  .left
                    %label.label.right Bypass login?
                  .right=check_box_tag :bypass
              .group.navform.wat-cf
                .right=submit_tag('Sign In', :class => :button)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
padrino-admin-0.9.24 lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt
padrino-admin-0.9.23 lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt
padrino-admin-0.9.22 lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt
padrino-admin-0.9.21 lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt
padrino-admin-0.9.20 lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt