Skip to content

Commit

Permalink
Removed submit from buttons, so they can be clicked without refreshin…
Browse files Browse the repository at this point in the history
…g page. (#18)
  • Loading branch information
chauger authored and frodare committed May 11, 2018
1 parent 9377d40 commit 2f184fa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/formcontrols.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,17 @@ <h3 class="underline">Input types</h3>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>

<button type="submit" class="btn btn-primary">Primary Button</button>
<button type="submit" class="btn btn-primary" disabled>Primary Disabled</button>
<button type="submit" class="btn btn-secondary">Secondary Button</button>
<button type="submit" class="btn btn-secondary" disabled>Secondary Disabled</button>
<button type="button" class="btn btn-primary">Primary Button</button>
<button type="button" class="btn btn-primary" disabled>Primary Disabled</button>
<button type="button" class="btn btn-secondary">Secondary Button</button>
<button type="button" class="btn btn-secondary" disabled>Secondary Disabled</button>
<br><br>
<button type="submit" class="btn btn-outline-primary">Primary Button</button>
<button type="submit" class="btn btn-outline-secondary">Secondary Button</button>
<button type="submit" class="btn btn-outline-primary" disabled>Primary Disabled</button>
<button type="submit" class="btn btn-outline-secondary" disabled>Secondary Disabled</button>
<button type="submit" class="btn btn-light">Light Button</button>
<button type="submit" class="btn btn-light" disabled>Light Disabled</button>
<button type="button" class="btn btn-outline-primary">Primary Button</button>
<button type="button" class="btn btn-outline-secondary">Secondary Button</button>
<button type="button" class="btn btn-outline-primary" disabled>Primary Disabled</button>
<button type="button" class="btn btn-outline-secondary" disabled>Secondary Disabled</button>
<button type="button" class="btn btn-light">Light Button</button>
<button type="button" class="btn btn-light" disabled>Light Disabled</button>
</form>
</div>
<div class="row my-3">
Expand Down

0 comments on commit 2f184fa

Please sign in to comment.