prepare ajax

This commit is contained in:
Thorsten Witteler 2017-10-20 15:08:26 +02:00
parent 0c00764ef5
commit de3a683cbe
4 changed files with 54 additions and 10 deletions

View file

@ -1,5 +1,5 @@
<h3>{{'PLUGIN_COMMENTS.ADD_COMMENT'|t}}</h3>
<form name="{{ grav.config.plugins.comments.form.name }}"
<form name="{{ grav.config.plugins.comments.form.name }}" class="comments-form"
action="{{ grav.config.plugins.comments.form.action ? base_url ~ grav.config.plugins.comments.form.action : page.url }}"
method="{{ grav.config.plugins.comments.form.method|upper|default('POST') }}">