Skip to content

Instantly share code, notes, and snippets.

@adriand
Created March 15, 2010 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adriand/333151 to your computer and use it in GitHub Desktop.
Save adriand/333151 to your computer and use it in GitHub Desktop.
/ Although from the user's perspective we are requesting a "username", we'll use Twitter's nomenclature
/ for this field and call it screen_name in our code instead. By using the same names as the API you
/ interact with, you decrease the cognitive overhead of dealing with the API.
%form{:action => "/value", :method => "post"}
Enter your Twitter username:
%input{:name => "screen_name", :type => "text"}
%input{:type => "submit", :value => "Submit"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment