[% IF ( CAN_user_reports_create_reports ) %]
[% END %] [% IF ( showsql || execute || editsql || save_successful ) %] [% UNLESS ( editsql ) # Do not show edit button on edit page %] [% IF ( CAN_user_reports_create_reports ) %]
Edit
[% END %] [% END %] [% UNLESS ( errors ) # Unless there are errors saving a report %]
Run report
[% END %] [% END %]