Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 14th, 2012  |  syntax: None  |  size: 0.53 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 %>
clone this paste RAW Paste Data