web/uicfg.py
branchtls-sprint
changeset 1754 c9c7618a90de
parent 1747 d48613e65196
child 1797 c2a80130b06d
equal deleted inserted replaced
1753:ba01605cdd9a 1754:c9c7618a90de
   215 
   215 
   216 
   216 
   217 # relations'field class
   217 # relations'field class
   218 autoform_field = RelationTags()
   218 autoform_field = RelationTags()
   219 
   219 
   220 # relations'widget class
   220 # relations'field explicit kwargs (given to field's __init__)
   221 autoform_widget = RelationTags()
   221 autoform_field_kwargs = RelationTags()
   222 autoform_widget.tag_attribute(('RQLExpression', 'expression'),
   222 autoform_field_kwargs.tag_attribute(('RQLExpression', 'expression'),
   223                               formwidgets.TextInput)
   223                                     {'widget': formwidgets.TextInput})
   224 autoform_widget.tag_attribute(('Bookmark', 'path'), formwidgets.TextInput)
   224 autoform_field_kwargs.tag_attribute(('Bookmark', 'path'),
       
   225                                     {'widget': formwidgets.TextInput})
   225 
   226 
   226 
   227 
   227 
   228 
   228 # inlined view flag for non final relations: when True for an entry, the
   229 # inlined view flag for non final relations: when True for an entry, the
   229 # entity(ies) at the other end of the relation will be editable from the
   230 # entity(ies) at the other end of the relation will be editable from the