Factor out retrieve_principal and form_field macro
commit782615db1d6a54c4fe4b4a14b97875daecbb95f0
authorJacques Dafflon <jacques.dafflon@cern.ch>
Tue, 17 Feb 2015 16:01:54 +0000 (17 17:01 +0100)
committerAdrian Moennich <adrian.moennich@cern.ch>
Thu, 26 Feb 2015 16:13:14 +0000 (26 17:13 +0100)
treeb56e3bfd346cd162e190f918c21894fa42a35a16
parentbfdef8e85f2d6dcd253d55f7d8f8bc4ffcc0eb45
Factor out retrieve_principal and form_field macro

 - factor out the retrieve_principal fn for a single avatar/group
 - factor out the form_field macro
 - small fixes in the password_widget
indico/util/user.py
indico/web/templates/forms/form_widget.html
indico/web/templates/forms/password_widget.html
indico/web/templates/forms/principal_widget.html