mirror of https://github.com/kevachat/webapp.git
phpkevacoinjs-lessblockchainsymfonycommunicationblockchain-chatkevachatdistributed-databasechatwebchat
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
742 B
14 lines
742 B
<form name="room" action="{{ path('room_add', { mode : request.get('mode') }) }}" method="post"> |
|
{% if request.get('error') %} |
|
<output name="error" for="form-room-name">{{ request.get('error') }}</output> |
|
{% endif %} |
|
{% if request.get('warning') %} |
|
<output name="warning" for="form-room-name">{{ request.get('warning') }}</output> |
|
{% endif %} |
|
<input type="text" name="name" id="form-room-name" value="{{ request.get('name') }}" placeholder="{{ 'enter new room name...' | trans }}" /> |
|
<button type="submit">{{ 'add' | trans }}</button> |
|
{% if cost %} |
|
<span>{{ 'cost: %s KVA' | format(cost) | trans }}</span> |
|
{% endif %} |
|
<input type="hidden" name="token" value="{{ token }}" /> |
|
</form> |