[% INCLUDE 'blocking_errors.inc' %]
[% IF ( CAN_user_reports_create_reports ) %]
[% END %] [% IF ( showsql || execute || editsql || save_successful ) %] [% IF ( CAN_user_reports_create_reports ) %] [% UNLESS ( editsql ) # Do not show edit button on edit page %]
Edit
[% END %]
Duplicate
[% END %] [% IF ( CAN_user_reports_delete_reports ) %]
Delete
[% END %] [% UNLESS ( errors ) # Unless there are errors saving a report %]
Run report
Schedule
[% END %] [% IF ( execute ) %] [% BLOCK params %] [%- FOREACH param IN sql_params %]&sql_params=[% param %][% END %] [%- END %]
Show SQL code
[% END %] [% END %]