Guest User

Untitled

a guest
Nov 14th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. <div class="field">
  2. <%= f.label question.question %><br />
  3. ....
  4.  
  5. select question from questions where "id"=1;
  6. question
  7. ----------------------------------
  8. What is 2+3. What is the answer?
  9. (1 row)
  10.  
  11. what is the answer?
  12.  
  13. ruby-1.9.2-p290 :006 > helper.label_tag "All Caps String"
  14. => "<label for="All_Caps_String">All caps string</label>"
  15.  
  16. ruby-1.9.2-p290 :007 > helper.label_tag "All Caps String", "All Caps String"
  17. => "<label for="All_Caps_String">All Caps String</label>
  18.  
  19. <%= f.label question.question, question.question %>
Add Comment
Please, Sign In to add comment