% for user, password in users.items():
${password.as_htpasswd_entry(user)}
% endfor