-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jesse Boyd
committed
Aug 15, 2018
1 parent
c11ea47
commit 51cf21b
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{# | ||
/** | ||
* @file | ||
* Theme override for a 'textarea' #type form element. | ||
* | ||
* Available variables | ||
* - wrapper_attributes: A list of HTML attributes for the wrapper element. | ||
* - attributes: A list of HTML attributes for the textarea element. | ||
* - resizable: An indicator for whether the textarea is resizable. | ||
* - required: An indicator for whether the textarea is required. | ||
* - value: The textarea content. | ||
* | ||
* @see template_preprocess_textarea() | ||
*/ | ||
#} | ||
|
||
{% set classes = ['au-text-input', 'au-text-input--block'] %} | ||
|
||
<div{{ wrapper_attributes }}> | ||
<textarea{{ attributes.addClass(classes) }}>{{ value }}</textarea> | ||
</div> |