app/soc/views/helper/templatetags/forms_helpers.py
changeset 959 b6e8750c9407
parent 935 09f47e08f805
child 1214 7fb705534dd1
equal deleted inserted replaced
958:b4309e3cb899 959:b6e8750c9407
   136 
   136 
   137   return as_table_helper(context, form)
   137   return as_table_helper(context, form)
   138 
   138 
   139 
   139 
   140 def get_reference_url(form, name):
   140 def get_reference_url(form, name):
   141   """Retrieves the reference url from a field
   141   """Retrieves the reference url from a field.
   142 
   142 
   143   Args:
   143   Args:
   144     form: the form the field is defined in
   144     form: the form the field is defined in
   145     name: the name of the field
   145     name: the name of the field
   146   """
   146   """