Tell that we support Markdown

Fixes #122
This commit is contained in:
Bat 2018-07-27 20:54:34 +02:00
parent f4a2d920a0
commit 0926a1d3b5
2 changed files with 3 additions and 3 deletions

View File

@ -21,10 +21,10 @@ Administration of {{ instance.name }}
{{ "Allow anyone to register" | _ }} {{ "Allow anyone to register" | _ }}
</label> </label>
<label for="short_description">{{ "Short description" | _ }}<small>{{ "Markdown is supported" }}</small></label> <label for="short_description">{{ "Short description" | _ }}<small>{{ "Markdown is supported" | _ }}</small></label>
<textarea id="short_description" name="short_description">{{ form.short_description | default(value=instance.short_description) }}</textarea> <textarea id="short_description" name="short_description">{{ form.short_description | default(value=instance.short_description) }}</textarea>
<label for="long_description">{{ "Long description" | _ }}<small>{{ "Markdown is supported" }}</small></label> <label for="long_description">{{ "Long description" | _ }}<small>{{ "Markdown is supported" | _ }}</small></label>
<textarea id="long_description" name="long_description">{{ form.long_description | default(value=instance.long_description) }}</textarea> <textarea id="long_description" name="long_description">{{ form.long_description | default(value=instance.long_description) }}</textarea>
{{ macros::input(name="default_license", label="Default license", errors=errors, form=form, props='minlenght="1"', default=instance) }} {{ macros::input(name="default_license", label="Default license", errors=errors, form=form, props='minlenght="1"', default=instance) }}

View File

@ -16,7 +16,7 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<label for="content">{{ "Content" | _ }}</label> <label for="content">{{ "Content" | _ }}<small>{{ "Markdown is supported" | _ }}</small></label>
<textarea id="content" name="content" value="{{ form.content | default(value="") }}"></textarea> <textarea id="content" name="content" value="{{ form.content | default(value="") }}"></textarea>
{% set license_infos = "Default license will be {{ instance.default_license }}" | _(instance=instance) %} {% set license_infos = "Default license will be {{ instance.default_license }}" | _(instance=instance) %}