diff --git a/Resources/views/captcha.html.twig b/Resources/views/captcha.html.twig
index 7871dae..6342936 100644
--- a/Resources/views/captcha.html.twig
+++ b/Resources/views/captcha.html.twig
@@ -3,15 +3,15 @@
-
{% else %}
{% spaceless %}
-
+
{% if reload %}
- {{ 'Renew'|trans({}, 'gregwar_captcha') }}
+ {{ 'Renew'|trans({}, 'gregwar_captcha') }}
{% endif %}
{{ form_widget(form) }}
{% endspaceless %}
diff --git a/Type/CaptchaType.php b/Type/CaptchaType.php
index 101b62a..4c99549 100644
--- a/Type/CaptchaType.php
+++ b/Type/CaptchaType.php
@@ -93,7 +93,7 @@ class CaptchaType extends AbstractType
'captcha_width' => $options['width'],
'captcha_height' => $options['height'],
'reload' => $options['reload'],
- 'id' => uniqid('captcha_'),
+ 'image_id' => uniqid('captcha_'),
'captcha_code' => $this->generator->getCaptchaCode($this->key, $options),
'value' => '',
'is_human' => $isHuman