KevaChat is distributed chat platform for open, uncensored and privacy respectable communication with permanent data storage in blockchain.
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.
|
|
|
{% if enabled %}
|
|
|
|
<form name="post" action="{{ path('room_post', { namespace : namespace }) }}" method="post">
|
|
|
|
{% if error %}
|
|
|
|
<output name="error" for="form-post-message">{{ error }}</output>
|
|
|
|
{% endif %}
|
|
|
|
<textarea name="message" id="form-post-message" placeholder="{{ 'enter your message...' | trans }}">{{ message }}</textarea>
|
|
|
|
{% if user == 'anon' or user != 'ip' %}
|
|
|
|
<input type="radio" name="user" value="anon" id="form-post-user-anon" checked="checked" />
|
|
|
|
{% else %}
|
|
|
|
<input type="radio" name="user" value="anon" id="form-post-user-anon" />
|
|
|
|
{% endif %}
|
|
|
|
<label for="form-post-user-anon">
|
|
|
|
{{ 'anon' | trans }}
|
|
|
|
</label>
|
|
|
|
{% if user == 'ip' %}
|
|
|
|
<input type="radio" name="user" value="ip" id="form-post-user-ip" checked="checked" />
|
|
|
|
{% else %}
|
|
|
|
<input type="radio" name="user" value="ip" id="form-post-user-ip" />
|
|
|
|
{% endif %}
|
|
|
|
<label for="form-post-user-ip">
|
|
|
|
@{{ ip }}
|
|
|
|
</label>
|
|
|
|
<button type="submit">{{ 'send' | trans }}</button>
|
|
|
|
</form>
|
|
|
|
{% endif %}
|