forked from mirrors/bookwyrm
Line breaks, why not
This commit is contained in:
parent
0968802fd3
commit
af63c9c187
1 changed files with 15 additions and 2 deletions
|
@ -13,13 +13,26 @@
|
||||||
<div class="column is-two-thirds">
|
<div class="column is-two-thirds">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<label class="label" for="id_name">{% trans "Display name:" %}</label>
|
<label class="label" for="id_name">{% trans "Display name:" %}</label>
|
||||||
<input type="text" name="name" maxlength="100" class="input" id="id_name" placeholder="{{ user.localname }}" value="{% if request.user.name %}{{ request.user.name }}{% endif %}">
|
<input
|
||||||
|
type="text"
|
||||||
|
name="name"
|
||||||
|
maxlength="100"
|
||||||
|
class="input"
|
||||||
|
id="id_name"
|
||||||
|
placeholder="{{ user.localname }}"
|
||||||
|
value="{% if request.user.name %}{{ request.user.name }}{% endif %}"
|
||||||
|
>
|
||||||
|
|
||||||
{% include 'snippets/form_errors.html' with errors_list=form.name.errors id="desc_name" %}
|
{% include 'snippets/form_errors.html' with errors_list=form.name.errors id="desc_name" %}
|
||||||
</div>
|
</div>
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<label class="label" for="id_summary">{% trans "Summary:" %}</label>
|
<label class="label" for="id_summary">{% trans "Summary:" %}</label>
|
||||||
<textarea name="summary" cols="None" rows="None" class="textarea" id="id_summary" placeholder="{% trans 'A little bit about you' %}">{% if request.user.summary %}{{ request.user.summary }}{% endif %}</textarea>
|
<textarea
|
||||||
|
name="summary"
|
||||||
|
class="textarea"
|
||||||
|
id="id_summary"
|
||||||
|
placeholder="{% trans 'A little bit about you' %}"
|
||||||
|
>{% if request.user.summary %}{{ request.user.summary }}{% endif %}</textarea>
|
||||||
|
|
||||||
{% include 'snippets/form_errors.html' with errors_list=form.summary.errors id="desc_summary" %}
|
{% include 'snippets/form_errors.html' with errors_list=form.summary.errors id="desc_summary" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue