--- /dev/null
+[%- USE T8 %]
+[% USE HTML %]
+<body>
+
+ [%- IF SAVED_MESSAGE %]
+ <p>[% SAVED_MESSAGE %]</p>
+ [%- END %]
+
+ <div class="listtop">[% title %]</div>
+
+ <p>[% 'Allow the following users access to my follow-ups:' | $T8 %]</p>
+
+ <form action="fu.pl" method="post" name="Form">
+ <p>
+ <table>
+ <tr>
+ <td class="listheading">[% 'User' | $T8 %]</td>
+ <td class="listheading">[% 'Allow access' | $T8 %]</td>
+ </tr>
+
+ [%- FOREACH row = EMPLOYEES %]
+ [%- UNLESS row.login == login %]
+ <input type="hidden" name="employee_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
+
+ <tr class="listrow[% loop.count % 2 %]">
+ <td>[% IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]</td>
+ <td>
+ <input type="radio" id="access_[% HTML.escape(row.id) %]_yes" name="access_[% HTML.escape(row.id) %]" value="1"[% IF row.access %] checked[% END %]>
+ <label for="access_[% HTML.escape(row.id) %]_yes">[% 'Yes' | $T8 %]</label>
+ <input type="radio" id="access_[% HTML.escape(row.id) %]_no" name="access_[% HTML.escape(row.id) %]" value=""[% UNLESS row.access %] checked[% END %]>
+ <label for="access_[% HTML.escape(row.id) %]_no">[% 'No' | $T8 %]</label>
+ </td>
+ </tr>
+ [%- END %]
+ [%- END %]
+ </table>
+ </p>
+
+ <input type="hidden" name="rowcount" value="[% EMPLOYEES.size %]">
+ <input type="hidden" name="save_nextsub" value="save_access_rights">
+
+ <p>
+ <input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]">
+ </p>
+
+ </form>
+</body>
+</html>