1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fix broken buttons

This commit is contained in:
Mark Otto 2015-01-19 16:03:41 -08:00
parent e1dfe01c9f
commit 21dc9b1f57
2 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@ Add `.form-inline` to your `<form>` or a parent element for left-aligned and inl
<label for="exampleInputEmail2">Email</label> <label for="exampleInputEmail2">Email</label>
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="jane.doe@example.com"> <input type="email" class="form-control" id="exampleInputEmail2" placeholder="jane.doe@example.com">
</div> </div>
<button type="submit" class="btn btn-default">Send invitation</button> <button type="submit" class="btn btn-primary">Send invitation</button>
</form> </form>
</div> </div>
{% endexample %} {% endexample %}
@ -86,7 +86,7 @@ Add `.form-inline` to your `<form>` or a parent element for left-aligned and inl
<input type="checkbox"> Remember me <input type="checkbox"> Remember me
</label> </label>
</div> </div>
<button type="submit" class="btn btn-default">Sign in</button> <button type="submit" class="btn btn-primary">Sign in</button>
</form> </form>
{% endexample %} {% endexample %}
@ -315,7 +315,7 @@ When you need to place plain text next to a form label within a form, use the `.
<label for="inputPassword2" class="sr-only">Password</label> <label for="inputPassword2" class="sr-only">Password</label>
<input type="password" class="form-control" id="inputPassword2" placeholder="Password"> <input type="password" class="form-control" id="inputPassword2" placeholder="Password">
</div> </div>
<button type="submit" class="btn btn-default">Confirm identity</button> <button type="submit" class="btn btn-primary">Confirm identity</button>
</form> </form>
{% endexample %} {% endexample %}

View file

@ -280,7 +280,7 @@ Have a bunch of buttons that all trigger the same modal, just with slightly diff
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Send message</button> <button type="button" class="btn btn-primary">Send message</button>
</div> </div>
</div> </div>
@ -316,7 +316,7 @@ Have a bunch of buttons that all trigger the same modal, just with slightly diff
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Send message</button> <button type="button" class="btn btn-primary">Send message</button>
</div> </div>
</div> </div>