diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 22:37:10 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 22:37:10 -0500 |
commit | 2a850757ee5f9c1a2119c562cf6caba3eda7ceba (patch) | |
tree | aff444a2fe18249485f84e71c8bf7ea31bc7dda6 /app/helpers.php | |
parent | 11b6381cc0f0583a11287202463d20a0ac1ebf00 (diff) |
Add Markdown preview for textarea, see #407
Diffstat (limited to 'app/helpers.php')
-rw-r--r-- | app/helpers.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/helpers.php b/app/helpers.php index ac5b788f..6c8e8955 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -445,7 +445,6 @@ function form_textarea($name, $values = array(), array $errors = array(), array $html .= implode(' ', $attributes).'>'; $html .= isset($values->$name) ? escape($values->$name) : isset($values[$name]) ? $values[$name] : ''; $html .= '</textarea>'; - if (in_array('required', $attributes)) $html .= '<span class="form-required">*</span>'; $html .= error_list($errors, $name); return $html; |