[% DEFAULT model = 'Employee', rows = [ { name => "Carrie", age => 24 }, { name => "agentzh", age => 25 }, { name => "laser", age => 35 }, ], pat = 'hello' %] [% SET op2name = { lt => '<', le => '<=', gt => '>', ge => '>=', eq => '=', ne => '<>', } %] [% BLOCK editable_row_value -%] [% value | html %] [% END -%]
[% model %]

Go to end

    [%- row = rows.first %] in using

Add a new row         Add multiple rows         Delete all rows         Dump model rows in JSON or CSV