Skip to content

Commit

Permalink
Merge pull request #415 from lcreid/395-readme
Browse files Browse the repository at this point in the history
Update the README to match changes from issue #395
  • Loading branch information
mattbrictson authored Jan 30, 2018
2 parents aabc5ef + 4c86bcf commit 8a7188f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ This generates the following HTML:
<input class="form-control" id="user_password" name="user[password]" type="password">
</div>
<div class="form-check">
<label for="user_remember_me">
<input name="user[remember_me]" type="hidden" value="0">
<input id="user_remember_me" name="user[remember_me]" type="checkbox" value="1"> Remember me
</label>
<input name="user[remember_me]" type="hidden" value="0">
<input class="form-check-input" id="user_remember_me" name="user[remember_me]" type="checkbox" value="1">
<label class="form-check-label" for="user_remember_me">Remember me</label>
</div>
<input class="btn btn-secondary" name="commit" type="submit" value="Log In">
</form>
Expand Down Expand Up @@ -114,9 +113,9 @@ This generates:
<small class="form-text text-muted">A good password should be at least six characters long</small>
</div>
<div class="form-check">
<label class="form-check-label" for="user_remember_me">
<input name="user[remember_me]" type="hidden" value="0" />
<input class="form-check-input" type="checkbox" value="1" name="user[remember_me]" /> Remember me</label>
<input name="user[remember_me]" type="hidden" value="0">
<input class="form-check-input" id="user_remember_me" name="user[remember_me]" type="checkbox" value="1">
<label class="form-check-label" for="user_remember_me">Remember me</label>
</div>
<input type="submit" name="commit" value="Log In" class="btn btn-secondary" data-disable-with="Log In" />
</form>
Expand Down

0 comments on commit 8a7188f

Please sign in to comment.