<input type="hidden" name="frequency" value="{{ frequency }}">
- <div class="custom-control custom-radio custom-control-inline">
- <input class="custom-control-input" type="radio" name="frequency-selector" id="frequency-one-time"
+ <div class="form-check form-check-inline">
+ <input class="form-check-input" type="radio" name="frequency-selector" id="frequency-one-time"
value="one-time" {% if frequency == "one-time" %}checked{% end %}>
- <label class="custom-control-label" for="frequency-one-time">{{ _("One Time") }}</label>
+ <label class="form-check-label" for="frequency-one-time">{{ _("One Time") }}</label>
</div>
- <div class="custom-control custom-radio custom-control-inline">
- <input class="custom-control-input" type="radio" name="frequency-selector" id="frequency-monthly"
+ <div class="form-check form-check-inline">
+ <input class="form-check-input" type="radio" name="frequency-selector" id="frequency-monthly"
value="monthly" {% if frequency == "monthly" %}checked{% end %}>
- <label class="custom-control-label" for="frequency-monthly">{{ _("Monthly") }}</label>
+ <label class="form-check-label" for="frequency-monthly">{{ _("Monthly") }}</label>
</div>
</div>
</div>
<div class="col d-flex flex-column">
<div class="form-row">
<div class="col">
- <div class="custom-control custom-radio custom-control-inline mb-3">
- <input class="custom-control-input" type="radio" name="title" id="mr" value="Mr." checked>
- <label class="custom-control-label" for="mr">{{ _("Mr.") }}</label>
+ <div class="form-check form-check-inline mb-3">
+ <input class="form-check-input" type="radio" name="title" id="mr" value="Mr." checked>
+ <label class="form-check-label" for="mr">{{ _("Mr.") }}</label>
</div>
- <div class="custom-control custom-radio custom-control-inline mb-3">
- <input class="custom-control-input" type="radio" name="title" id="mrs" value="Mrs.">
- <label class="custom-control-label" for="mrs">{{ _("Mrs.") }}</label>
+ <div class="form-check form-check-inline mb-3">
+ <input class="form-check-input" type="radio" name="title" id="mrs" value="Mrs.">
+ <label class="form-check-label" for="mrs">{{ _("Mrs.") }}</label>
</div>
</div>
</div>
{% if page and not page.is_watched_by(current_user) %}
<div class="form-group form-check">
- <div class="custom-control custom-checkbox">
- <input type="checkbox" class="custom-control-input" name="watch" id="watch" checked>
- <label class="custom-control-label" for="watch">{{ _("Watch this page") }}</label>
+ <div class="form-check">
+ <input class="form-check-input" type="checkbox" name="watch" id="watch" checked>
+ <label class="form-check-label" for="watch">{{ _("Watch this page") }}</label>
</div>
<small class="form-text text-muted">
<input type="hidden" name="path" value="{{ file.path }}">
<input type="hidden" name="filename" value="{{ file.filename }}">
- <div class="form-group">
- <div class="custom-file">
- <input type="file" class="custom-file-input" name="file" required>
- <label class="custom-file-label" for="customFile">{{ _("Choose a file to upload") }}</label>
- </div>
+ <div class="mb-3">
+ <input class="form-control" type="file" name="file" required>
+ <label class="form-label" for="customFile">{{ _("Choose a file to upload") }}</label>
<small class="form-text text-muted">
{{ _("Uploading a new file to replaces this one to fix any errata in the current version") }}
<input type="hidden" name="path" value="{{ path }}">
- <div class="form-group">
- <div class="custom-file">
- <input type="file" class="custom-file-input" name="file" required>
- <label class="custom-file-label" for="customFile">{{ _("Choose a file to upload") }}</label>
- </div>
+ <div class="mb-3">
+ <input class="form-control" type="file" name="file" required>
+ <label class="form-label" for="customFile">{{ _("Choose a file to upload") }}</label>
</div>
<input class="btn btn-primary btn-block" type="submit" value="{{ _("Upload") }}">