Skip to content
This repository was archived by the owner on Jul 10, 2020. It is now read-only.

Column size class applied inconsistently among horizontal and inline layout in forms #193

Open
netbrothers-tr opened this issue Feb 9, 2017 · 0 comments

Comments

@netbrothers-tr
Copy link
Contributor

It seems to me that the column-size option is applied wrongly in forms with horizontal layout. Here's an example.

<!-- With options ['column-size' => 'md-4', 'twb-layout' => 'inline'] -->

<div class="form-group col-md-4">
    <label class="sr-only">Start</label>
    <input name="start" class="form-control" value="" type="text">
</div>

<!-- With options ['column-size' => 'md-4', 'twb-layout' => 'horizontal'] -->

<div class="form-group ">
    <label class="control-label">Start</label>
    <div class=" col-md-4">
        <input name="start" class="form-control" value="" type="text">
    </div>
</div>

I think it should be added to the first div and the wrapper div around the input can be omitted.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant