Sha256: 0d4b4dd409e2f65fb0ef671799b2d327014707242a4571c205ed169e7af2862c

Contents?: true

Size: 1.7 KB

Versions: 13

Compression:

Stored size: 1.7 KB

Contents

%div#sample-forms.element
  %h2.element-title Sample Forms
  .markup
    %form{:action => "https://pizza.example.com/order.cgi", :enctype => "application/x-www-form-urlencoded", :method => "post"}
      %p
        %label
          Customer name:
          %input{:name => "custname", :required => ""}/
      %p
        %label
          Telephone:
          %input{:name => "custtel", :type => "tel"}/
      %p
        %label
          E-mail address:
          %input{:name => "custemail", :type => "email"}/
      %fieldset
        %legend Pizza Size
        %p
          %label
            %input{:name => "size", :type => "radio", :value => "small"} Small
        %p
          %label
            %input{:name => "size", :type => "radio", :value => "medium"} Medium
        %p
          %label
            %input{:name => "size", :type => "radio", :value => "large"} Large
      %fieldset
        %legend Pizza Toppings
        %p
          %label
            %input{:name => "topping", :type => "checkbox", :value => "bacon"} Bacon
        %p
          %label
            %input{:name => "topping", :type => "checkbox", :value => "cheese"} Extra Cheese
        %p
          %label
            %input{:name => "topping", :type => "checkbox", :value => "onion"} Onion
        %p
          %label
            %input{:name => "topping", :type => "checkbox", :value => "mushroom"} Mushroom
      %p
        %label
          Preferred delivery time:
          %input{:max => "21:00", :min => "11:00", :name => "delivery", :required => "", :step => "900", :type => "time"}/
      %p
        %label
          Delivery instructions:
          %textarea{:maxlength => "1000", :name => "comments"}
      %p
        %button Submit order
        %p

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
survivalkit-1.0.beta.8 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.7 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.6 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.5 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.4 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.3 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.2 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-1.0.beta.1 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-0.3.4 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-0.3.3 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-0.3.2 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-0.3.1 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml
survivalkit-0.3 templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml