Browse Source

Make bans default to board of offending post

pull/62/head
discomrade 2 years ago
parent
commit
4febc6aa77
  1. 10
      templates/mod/ban_form.html

10
templates/mod/ban_form.html

@ -69,17 +69,17 @@
<td>
<ul style="list-style:none;padding:2px 5px">
<li>
<input type="radio" name="board" value="*" id="ban-allboards" checked>
<input type="radio" name="board" value="*" id="ban-allboards"{% if not board %} checked{% endif %}>
<label style="display:inline" for="ban-allboards">
<em>{% trans 'all boards' %}</em>
</label>
</li>
{% for board in boards %}
{% for b in boards %}
<li>
<input type="radio" name="board" value="{{ board.uri }}" id="ban-board-{{ board.uri }}">
<label style="display:inline" for="ban-board-{{ board.uri }}">
{{ config.board_abbreviation|sprintf(board.uri) }} - {{ board.title|e }}
<input type="radio" name="board" value="{{ b.uri }}" id="ban-board-{{ b.uri }}"{% if board == b.uri %} checked{% endif %}>
<label style="display:inline" for="ban-board-{{ b.uri }}">
{{ config.board_abbreviation|sprintf(b.uri) }} - {{ b.title|e }}
</label>
</li>
{% endfor %}

Loading…
Cancel
Save