adamwathan / bootforms

Rapid form generation with Bootstrap 3 and Laravel.
MIT License
417 stars 103 forks source link

Question about icons on form input. #97

Closed Tjoosten closed 8 years ago

Tjoosten commented 8 years ago

How can i convert this code with this package?

<!-- Start date input group -->
<div class="form-group {{ $errors->has('Start_date') ? 'has-feedback has-error' : '' }}">
                        <label>Start datum: <span class="text-danger">*</span></label>

                        <div class="input-group">
                            <div class="input-group-addon">
                                <i class="fa fa-calendar"></i>
                            </div>
                            <input type="text" name="Start_date" value="{{ old('Start_date') }}" placeholder="dd/mm/yyyy" class="form-control">
                        </div>
                    </div>
                    <!-- /.start date input group -->
adamwathan commented 8 years ago

Can find examples of using input groups in the tests here: https://github.com/adamwathan/bootforms/blob/master/tests/BasicFormBuilderTest.php#L545-L628