mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-11-02 16:37:19 -04:00
Add mention hints to full post form and fix minor error
This commit is contained in:
parent
8615c8f801
commit
dfc9becc87
@ -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">
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user