[# this template is used in fun_editticket.html as well] [if request.is_item]

{edit_ticket_header}

[else]

{create_ticket_header}

[end]
[if ticket_tab] [for ticket_tab] [if ticket_tab_type_is "select"]
[end] [if one [ticket_tab_type_is "integer"] [ticket_tab_type_is "progress"] [ticket_tab_type_is "string"]]
[end] [if ticket_tab_type_is "multistring"]
[end] [if ticket_tab_type_is "images"]
[for ticket_tab_file_tab] [end]
[end] [if ticket_tab_type_is "files"]
[if ticket_tab_file_tab]
[end] [end] [if any_not [ticket_tab_type_is "images"] [ticket_tab_type_is "files"] ticket_is_creating_new ticket_tab_has_value]

{ticket_value_not_set}

[end] [end] [end] [# FIXME !! change names form_emacs_content_thread and form_emacs_content_ticket]
[if not user_logged]
[include "antispam.html"] [end] [if winix_function_param_is "postredirect"] [end]