Skip to content
Snippets Groups Projects
  1. Jan 31, 2012
  2. Jan 30, 2012
  3. Jan 28, 2012
  4. Jan 27, 2012
  5. Jan 26, 2012
  6. Jan 25, 2012
  7. Jan 24, 2012
  8. Jan 23, 2012
  9. Jan 22, 2012
  10. Jan 21, 2012
  11. Jan 18, 2012
  12. Jan 13, 2012
  13. Jan 12, 2012
  14. Jan 11, 2012
  15. 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
  16. Dec 17, 2011
  17. Dec 01, 2011
  18. Nov 15, 2011
  19. Nov 07, 2011
Loading