{% if action != 'edit' %}
Add news
{% endif %}
{% if action == 'edit' %}
{% endif %}
{% if action == 'edit'%}Edit{% else %}Add{% endif %} news
{% set rows = 1 %} {% set rows = rows + 1 %}
Title:
{% set rows = rows + 1 %}
{{ body }}
{% set rows = rows + 1 %}
Type:
News
Ticket
{% if action == 'edit' %} {% set rows = rows + 1 %} {% if player is defined %}
Author:
{{ player.getName() }}
{% endif %} {% endif %} {% set rows = rows + 1 %}
{% if action == 'edit' %}Modified by{% else %}Author{% endif %}:
{% for player in account_players %}
{{ player.getName() }}
{% endfor %}
{% set rows = rows + 1 %}
Category:
{% for id, cat in categories %}
{% endfor %}
{% if action == '' %} {% set rows = rows + 1 %}
Create forum thread in section:
None
{% for section in forum_boards %}
{{ section.name }} {% endfor %}
{% endif %} {% set rows = rows + 1 %}
{% if action != 'edit' %} {% endif %}