{% set title = 'Change guild MOTD' %}
{% set background = config('darkborder') %}
{% set content %}
<table style="width:100%;" >
	<tr>
		<td>
			Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br/>
			<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_motd" method="post">
				{{ csrf() }}
				<input type="hidden" name="todo" value="save"/>
				<textarea name="motd" cols="60" rows="3">{{ guild.getCustomField('motd')|raw }}</textarea><br/>
				(max. {{ setting('core.guild_motd_chars_limit') }} chars) <input type="submit" value="Save MOTD" />
			</form>
		</td>
	</tr>
</table>
{% endset %}
{% include 'tables.headline.html.twig' %}

<div style="text-align:center">
	<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
		{{ csrf() }}
		{{ include('buttons.back.html.twig') }}
	</form>
</div>
