Created
May 20, 2016 19:34
-
-
Save marcioj/e4a39530c98064af49c4fb737b07bbde to your computer and use it in GitHub Desktop.
Rails form helper
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
f.label :title => <label>Title</label> | |
f.text_field :title => <input type="text" /> | |
f.text_area :body, size: "60x12" => <textarea cols="60" rows="12" ></textarea> | |
f.submit "Create" => <input name="commit" type="submit" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment