diff --git a/wire/modules/Inputfield/InputfieldButton.module b/wire/modules/Inputfield/InputfieldButton.module index f6451a1f..1afa744f 100644 --- a/wire/modules/Inputfield/InputfieldButton.module +++ b/wire/modules/Inputfield/InputfieldButton.module @@ -6,6 +6,7 @@ * @property string $href URL to link to * @property string $aclass Optional class name(s) for element (if href is used). * @property string $target Link target + * @property bool $linkInner Place link inside ', $text, 2); + $out = "$button>$text"; + } else { + $out = "$out"; } - + $this->attr('href', $href); // restore return $out; }