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