[% DEFAULT view = { definition => "select id, title, date_part('day', created) as day\n from Post\n where date_part('year', created) = $year and\n date_part('month', created) = $month\n order by created asc\n", description => undef, name => "PostsByMonth", }; %] [% BLOCK editable_view_value -%] [% value | html %] [% END -%]
[% INCLUDE editable_view_value key="definition", value=view.definition %]