Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1082 from SumOfUs/bugs.comment-box
Browse files Browse the repository at this point in the history
Remove whitespace in textarea default values
  • Loading branch information
eyko committed Dec 20, 2017
2 parents 38d6398 + 98e2aff commit 782cdf1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/liquid/views/partials/_form.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
<input type="hidden" name="{{field.name}}" class="form__content" id="" placeholder="{{ field.label }}" value="{{ field.default_value }}" />
{% when 'paragraph' %}
<textarea name="{{ field.name }}" placeholder="{{ field.label }}" data-display-mode="{{field.display_mode}}"
class="form__content sweet-placeholder__field" id="" maxlength="9999">
{{ field.default_value }}
</textarea>
class="form__content sweet-placeholder__field" id="" maxlength="9999">{{ field.default_value }}</textarea>
{% when 'email' %}
<div class="sweet-placeholder" data-display-mode="{{field.display_mode}}">
<label class="sweet-placeholder__label">{{ field.label }}</label>
Expand Down

0 comments on commit 782cdf1

Please sign in to comment.