Sha256: 8b25550aa582a88575271d834846d0af06aa55b3d2f5fa39f752a22c7270b62d

Contents?: true

Size: 851 Bytes

Versions: 1

Compression:

Stored size: 851 Bytes

Contents

!!! 5
%html
  %head
    %title WordPress.com authorizer
    %link{:rel => "stylesheet",
          :href => "http://www.blueprintcss.org/blueprint/screen.css",
          :type => "text/css",
          :media => "screen, projection"}
  %body
    .container
      %h1 Example authorizer for WordPress.com REST API
      %form(method="POST")
        %table
          - [[:client_id, "Client ID"], [:client_secret, "Client secret"], [:blog, 'WordPress.com Blog URL <span class="quiet">(optional)</span>' ]].each do |name, title|
            %tr
              %td(style="text-align: right")
                %label{ :for => name }= title
              %td
                %input.text{ :name=> name, :value => session[name] }
          %tr
            %td(colspan="2" style="text-align: center")
              %input(type="submit" value="Get authorization!")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wordpress-com-0.0.1 examples/authorizer_form.haml