cityssm/parking-ticket-system

View on GitHub
public/html/bylaw-edit.html

Summary

Maintainability
Test Coverage
<div class="modal">
  <div class="modal-background"></div>
  <div class="modal-card">
    <header class="modal-card-head">
      <h3 class="modal-card-title">Update a By-Law</h3>
      <button class="delete is-close-modal-button" aria-label="close" type="button"></button>
    </header>
    <section class="modal-card-body">
      <form id="form--editBylaw">
        <div class="field">
          <label class="label" for="editBylaw--bylawNumber">By-Law Number</label>
          <div class="control has-icons-right">
            <input class="input is-readonly" id="editBylaw--bylawNumber" name="bylawNumber" type="text" readonly />
            <span class="icon is-small is-right">
              <i class="fas fa-lock" aria-hidden="true"></i>
            </span>
          </div>
        </div>

        <div class="field">
          <label class="label" for="editBylaw--bylawDescription">By-Law Description</label>
          <div class="control">
            <input class="input" id="editBylaw--bylawDescription" name="bylawDescription" maxlength="200" required />
          </div>
        </div>
      </form>
    </section>
    <footer class="modal-card-foot justify-flex-end">
      <button class="button is-close-modal-button" type="button">Cancel</button>
      <button class="button is-success" type="submit" form="form--editBylaw">
        <span class="icon is-small"><i class="fas fa-save" aria-hidden="true"></i></span>
        <span>Update By-Law</span>
      </button>
      <button class="button is-danger is-delete-button" data-cy="remove" type="button">
        <span class="icon is-small"><i class="fas fa-trash" aria-hidden="true"></i></span>
        <span>Remove</span>
      </button>
    </footer>
  </div>
</div>