Moonshine::Bootstrap::Component::InputGroup
$self->input_group({ mid => 'basic-addon1', placeholder => 'Username', left => { data => '@' } });
$self->input_group({ label => { data => 'some text' } }); <label>some text .... </label
Used to map addon and input.
Used to map label to input.
<label for="lid"> <input id="lid">
<div class="input-group"> <span class="input-group-addon" id="basic-addon1">@</span> <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1"> </div>
To install Moonshine::Bootstrap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moonshine::Bootstrap
CPAN shell
perl -MCPAN -e shell install Moonshine::Bootstrap
For more information on module installation, please visit the detailed CPAN module installation guide.