0.0.133 add counter for feedback
This commit is contained in:
@@ -102,14 +102,16 @@
|
||||
</div>
|
||||
<div class="right_inputs_form">
|
||||
<div class="counter-box">
|
||||
<label for="id_text"></label>
|
||||
<textarea
|
||||
name="text"
|
||||
oninput="counterText(this)"
|
||||
id="id_text"
|
||||
class="feedback_form_message"
|
||||
placeholder= {% translate "Сообщение" %}
|
||||
value="{% if form.adding_machine.text %}{{ form.initial.text }}{% endif %}"
|
||||
maxlength="100">
|
||||
name="text"
|
||||
onFocus="this.select()"
|
||||
oninput="counterText(this)"
|
||||
id="id_text" class="feedback_form_message"
|
||||
placeholder= {% translate "Сообщение" %}
|
||||
value="{% if form.adding_machine.text %}{{ form.initial.text }}{% endif %}"
|
||||
maxlength="100"
|
||||
>
|
||||
</textarea>
|
||||
<span class="counter-text">
|
||||
<span class="counter-text__current">0</span>
|
||||
|
||||
Reference in New Issue
Block a user