mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Class for UserText textarea.
This commit is contained in:
@@ -3709,6 +3709,7 @@ class UserText(CachedTemplate):
|
||||
post_form = 'editusertext',
|
||||
cloneable = False,
|
||||
extra_css = '',
|
||||
textarea_class = '',
|
||||
name = "text",
|
||||
expunged=False,
|
||||
include_errors=True):
|
||||
@@ -3734,6 +3735,7 @@ class UserText(CachedTemplate):
|
||||
post_form = post_form,
|
||||
cloneable = cloneable,
|
||||
css_class = css_class,
|
||||
textarea_class = textarea_class,
|
||||
name = name,
|
||||
expunged=expunged,
|
||||
include_errors=include_errors)
|
||||
|
||||
@@ -138,6 +138,7 @@
|
||||
<div>
|
||||
<textarea rows="1" cols="1"
|
||||
name="${thing.name}"
|
||||
class="${thing.textarea_class}"
|
||||
>${keep_space(thing.text)}</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user