Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Style issue in form button group #3245

Closed
saggiyogesh opened this Issue · 1 comment

2 participants

@saggiyogesh

when creating form, html is generated where both buttons are not separated by any space between then, both buttons are rendered without any space between them.

<div class="form-actions">
    <button type="submit" class="btn btn-primary">Save</button><button class="btn">Cancel</button>
</div>

But if a space is given then rendered html is ok.

<div class="form-actions">
    <button type="submit" class="btn btn-primary">Save</button> <button class="btn">Cancel</button>
</div>
@mdo
Owner

This is how HTML behaves. Whitespace can matter. You'll have to add the space.

@mdo mdo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.