src/Form/Renderer/Bootstrap.php
public function link(Form\Element\Link $element)
    {

        $html = '<label>' . $element->getLabel() . '</label>';
        $html .= '<p>' . html('a', ['href' => $element->getValue(), 'target' => '_blank'], $element->getValue()) . '</p>';

        $class = Style::FORM_GROUP_CLASS;
        $html = html('div', compact('class'), $html);

        return $html;
    }
public function link(Form\Element\Link $element)
    {

        $html = '<label>' . $element->getLabel() . '</label>';
        $html .= '<p>' . html('a', ['href' => $element->getValue(), 'target' => '_blank'], $element->getValue()) . '</p>';

        $class = Style::FORM_GROUP_CLASS;
        $html = html('div', compact('class'), $html);

        return $html;
    }
public function link ( Form \ Element \ Link $ element ) { $ html = '<label>' . $ element -> getLabel ( ) . '</label>' ; $ html .= '<p>' . html ( 'a' , [ 'href' => $ element -> getValue ( ) , 'target' => '_blank' ] , $ element -> getValue ( ) ) . '</p>' ; $ class = Style :: FORM_GROUP_CLASS ; $ html = html ( 'div' , compact ( 'class' ) , $ html ) ; return $ html ; }
Render a link element

@param \FrenchFrogs\Form\Element\Link $element
@return string
Render a link element