$def with (bindings, auth_methods, msg, error) $# $# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for $# more information about the licensing of this file. $# $var title: $:_("Authentication bindings") $var Column: $:template_helper.call('preferences_menu',current='bindings') $def NavbarF(): $var Navbar: $:NavbarF() $if error:
$:msg
$elif msg:
$:msg

$:_("Authentication bindings")

$for id, auth_method in auth_methods.items(): $if id in bindings.keys():

$auth_method.get_name()

$:auth_method.get_imlink()

$:_("Identifier:") $bindings[id][0]

$:_("Add a new binding")