1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,13 @@ |
1 |
+<?php $this->block('field'); ?> |
|
2 |
+<div class="widget widget-submit"> |
|
3 |
+ <?php if ($this->src) : ?> |
|
4 |
+ <input type="image" src="<?= $this->src ?>" id="ctrl_<?= $this->id ?>" |
|
5 |
+ class="submit<?php if ($this->class) : ?> <?= $this->class ?><?php endif; ?>" |
|
6 |
+ title="<?= Contao\StringUtil::specialchars($this->slabel) ?>" |
|
7 |
+ alt="<?= Contao\StringUtil::specialchars($this->slabel) ?>" <?= $this->getAttributes() ?>> |
|
8 |
+ <?php else : ?> |
|
9 |
+ <button type="submit" id="ctrl_<?= $this->id ?>" |
|
10 |
+ class="btn submit<?php if ($this->class) : ?> <?= $this->class ?><?php endif; ?>" <?= $this->getAttributes() ?>><?= $this->slabel ?></button> |
|
11 |
+ <?php endif; ?> |
|
12 |
+</div> |
|
13 |
+<?php $this->endblock(); ?> |
|
0 | 14 |
\ No newline at end of file |