mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
1 parent
89b294c60e
commit
f45a509c05
5 files changed
+8
-3
No files matched your search
@@ -172,6 +172,7 @@
|
||||
|
||||
{% macro textarea(args) %}
|
||||
{% set markdown = args.markdown or false %}
|
||||
{% set nospellcheck = args.nospellcheck or false %}
|
||||
<div
|
||||
name="form_item_{{ args.name }}"
|
||||
{{ container_attr('textarea-container', args) }}
|
||||
@@ -180,6 +181,7 @@
|
||||
name="{{ args.name }}"
|
||||
placeholder="{{ args.placeholder }}"
|
||||
{% if markdown %}data-markdown{% endif %}
|
||||
{% if nospellcheck %}spellcheck="false"{% endif %}
|
||||
{{ form_attr('textbox', args) }}
|
||||
>{{ args.value }}</textarea>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user