Created
March 15, 2010 18:32
-
-
Save adriand/333151 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ 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