Add mention hints to full post form and fix minor error

This commit is contained in:
Jason McBrayer 2019-01-17 21:06:29 -05:00
parent 8615c8f801
commit dfc9becc87
2 changed files with 7 additions and 4 deletions

View File

@ -21,12 +21,10 @@
required="" id="id_status"
ic-post-to="{% url "user_search" %}"
ic-trigger-on="keyup changed" ic-trigger-delay="500ms"
ic-target="#username_autocomplete">
</textarea>
ic-target="#username_autocomplete"></textarea>
<div id="username_autocomplete"></div>
</div>
<div id="status_count"></div>
</div>
<div class="field has-addons">

View File

@ -24,7 +24,12 @@
<div class="field" >
<label class="label" >{{ form.status.label }}</label>
<div class="control">
{% render_field form.status class+="textarea mousetrap is-primary" rows="4" %}
<textarea name="status" cols="40" rows="3" class="textarea is-primary mousetrap"
required="" id="id_status"
ic-post-to="{% url "user_search" %}"
ic-trigger-on="keyup changed" ic-trigger-delay="500ms"
ic-target="#username_autocomplete"></textarea>
<div id="username_autocomplete"></div>
</div>
<div id="status_count"></div>
</div>