web/views/bookmark.py
changeset 4311 e9e93967b7b5
parent 4309 bdac9e9e76cd
child 5113 f8cbdb51e6d4
equal deleted inserted replaced
4310:a139b98b6af5 4311:e9e93967b7b5
    23 _afs.tag_object_of(('*', 'bookmarked_by', 'CWUser'), 'main', 'metadata')
    23 _afs.tag_object_of(('*', 'bookmarked_by', 'CWUser'), 'main', 'metadata')
    24 _afs.tag_attribute(('Bookmark', 'path'), 'main', 'attributes')
    24 _afs.tag_attribute(('Bookmark', 'path'), 'main', 'attributes')
    25 _afs.tag_attribute(('Bookmark', 'path'), 'muledit', 'attributes')
    25 _afs.tag_attribute(('Bookmark', 'path'), 'muledit', 'attributes')
    26 
    26 
    27 _affk = uicfg.autoform_field_kwargs
    27 _affk = uicfg.autoform_field_kwargs
    28 _affk.tag_attribute(('Bookmark', 'path'), {'widget': fw.URLUnescapedInput})
    28 _affk.tag_attribute(('Bookmark', 'path'), {'widget': fw.EditableURLWidget})
    29 
    29 
    30 
    30 
    31 class FollowAction(action.Action):
    31 class FollowAction(action.Action):
    32     __regid__ = 'follow'
    32     __regid__ = 'follow'
    33     __select__ = one_line_rset() & implements('Bookmark')
    33     __select__ = one_line_rset() & implements('Bookmark')