Support for col
simplenotezy opened this issue · 1 comments
simplenotezy commented
In a fresh laravel installation, the /auth/register looks like this:
<div class="form-group">
<label class="col-md-4 control-label">Firstname</label>
<div class="col-md-6">
<input type="text" class="form-control" name="firstname" value="{{ old('firstname') }}">
</div>
</div>
I have tried recreating that in bootform using:
{!! BootForm::text('Firstname', 'firstname')->placeholder('Firstname')->value(old('firstname')) !!}
However, I find it impossible to add the extra wrapper <div class="col-md-6">
that needs to be around the input text.
Is it possible?
simplenotezy commented
Fixed it with
!! BootForm::openHorizontal(4, 8)->post()->action('/auth/register') !!}