[%# arguments: - remote (needs to be a real user object) - current_icon_kw (string, icon keyword) - omit_random_button (bool, defaults to false) #%] [%- icons = remote.icon_keyword_menu() -%] [%- IF icons.size > 0 -%]
[%- form.select( name = 'prop_picture_keyword', id = 'prop_picture_keyword', selected = current_icon_kw, items = icons, class = class ) -%] [%- UNLESS omit_random_button -%] [%- END -%]
[%- END -%]