Skip to content

Commit

Permalink
Merge pull request #270 from VincentTam/fix-ta-html5
Browse files Browse the repository at this point in the history
Fixed error from HTML5 validator and used input type URL
  • Loading branch information
halogenica authored Sep 21, 2019
2 parents d99fea4 + c37e870 commit 6f54c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/staticman-comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h4 class="comment-author">{{ .name }}</h4>

<fieldset>
<div class="textfield">
<textarea name="fields[comment]" type="text" placeholder="{{ i18n "useMarkdown" }}"></textarea>
<textarea name="fields[comment]" placeholder="{{ i18n "useMarkdown" }}"></textarea>
</div>
</fieldset>

Expand All @@ -64,7 +64,7 @@ <h4 class="comment-author">{{ .name }}</h4>

<fieldset>
<div class="textfield">
<input type="text" name="fields[website]" placeholder="{{ i18n "yourWebsite" }}"/>
<input type="url" name="fields[website]" placeholder="{{ i18n "yourWebsite" }}"/>
</div>
</fieldset>

Expand Down

0 comments on commit 6f54c9a

Please sign in to comment.