Meint ihr dies könnte funktionieren?
PHP-Code:
<?php $this->extend('form_row'); ?>
<?php $this->block('field'); ?>
<?php if ($this->src): ?>
<input type="image" src="<?php echo $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
<?php else: ?>
<input type="submit" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" onClick="ga(‘send’, ‘event’, { eventCategory: ‘Schaetzung’, eventAction: ‘{{user::id}}_{{date::U}}’, eventLabel: ‘’});" value="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
<?php endif; ?>
<?php $this->endblock(); ?>
im template:
form_submit.html5
Lieben Dank
.christoph