Sha256: 104deb7f3559b29eb47dc7724c538663e0e32dca1c595c01ab3ba696250c1143

Contents?: true

Size: 599 Bytes

Versions: 10

Compression:

Stored size: 599 Bytes

Contents

class ViewWithContentTags < Garterbelt::View
  
  def content
    div.c(:line) do
      div.c(:unit, :size1of2) do
        h4 "Login"
        form :action => "/login", :class => :inner do
          label.c(:input) do
            text "Username or Email"
            input :name => 'login', :type => :text
          end
          
          label.c(:input) do
            text "Password"
            input :name => 'password', :type => :password
          end
          
          hr.c(:light)
          
          input :type => :submit, :value => "Login"
        end 
      end
    end
  end
  
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
garterbelt-0.1.1 spec/integration/templates/view_with_tags.rb
garterbelt-0.1.0 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.9 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.8 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.7 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.6 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.5 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.4 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.3 spec/integration/templates/view_with_tags.rb
garterbelt-0.0.2 spec/integration/templates/view_with_tags.rb