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