Skip to content
Snippets Groups Projects
  1. Jan 25, 2012
  2. Jan 24, 2012
  3. Jan 23, 2012
  4. Jan 22, 2012
  5. Jan 21, 2012
  6. Jan 18, 2012
  7. Jan 13, 2012
  8. Jan 12, 2012
  9. Jan 11, 2012
  10. Dec 28, 2011
    • alangrafu's avatar
      Adding syntactic sugar to first values in array · b47ddfd3
      alangrafu authored
      When only the first value is needed (or expected) instead of iterating
      over the array, it is possible to access the values by adding "_first."
      before the variable name.
      
      Example: {{r.modelFile._first.varname.value}}
      
      Instead of
      
      {%for row in r.modelFile%}
      {%if forloop.first%}{{row.varname.value}}{%endif%}
      {%endfor%}
      b47ddfd3
  11. Dec 17, 2011
  12. Dec 01, 2011
  13. Nov 15, 2011
  14. Nov 07, 2011
  15. Nov 05, 2011
  16. Nov 04, 2011
  17. Oct 21, 2011
  18. Oct 15, 2011
  19. Oct 07, 2011
Loading