The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit d3849f58 authored by Demian Katz's avatar Demian Katz
Browse files

Workaround for embedded comments without ReCaptcha.

parent 0c03c6da
No related merge requests found
......@@ -19,6 +19,8 @@
<textarea name="comment" class="form-control" rows="3" required></textarea><br/>
<? if ($this->tab->isRecaptchaActive()): ?>
<?=$this->recaptcha()->html(true, false) ?><br/>
<? else: ?>
<script>/* workaround for nested form bug */</script>
<? endif; ?>
<input class="btn btn-primary" data-loading-text="<?=$this->transEsc('Submitting') ?>..." type="submit" value="<?=$this->transEsc("Add your comment")?>"/>
<? else: ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment