Skip to content

Commit 32dcf8d

Browse files
committed
Fix broken buttons
1 parent bcee3e2 commit 32dcf8d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

style/main_body.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>{{ lang('CREATE_BOARD') }}</h1>
1818
<select id="qi_profile" name="qi_profile" class="custom-select mb-3" data-form-submit="true">
1919
{{ PROFILE_OPTIONS }}
2020
</select>
21-
<noscript><button type="submit" name="submit-profile" class="btn btn-primary">{{ lang('GO') }}</button></noscript>
21+
<noscript><button type="submit" name="submit-profile" value="{{ lang('GO') }}" class="btn btn-primary">{{ lang('GO') }}</button></noscript>
2222
{% endif %}
2323
</div>
2424
</div>

style/settings_body.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ <h5 class="alert-heading"><svg class="bi icon text-danger" width="24" height="24
5656
</select>
5757
</div>
5858
<div class="col-md-2">
59-
{% if PROFILE_COUNT > 1 %}<noscript><button type="submit" name="submit-profile" class="btn btn-primary">{{ lang('GO') }}</button></noscript>{% endif %}
59+
{% if PROFILE_COUNT > 1 %}<noscript><button type="submit" name="submit-profile" value="{{ lang('GO') }}" class="btn btn-primary">{{ lang('GO') }}</button></noscript>{% endif %}
6060
</div>
6161
</div>
6262
{% if PROFILE_COUNT > 1 %}
6363
<div class="form-group row">
6464
<div class="col-md-7 offset-md-5">
65-
<button type="submit" name="delete-profile" id="delete-profile" class="btn btn-danger" data-confirm="{{ lang('SURE_DELETE_PROFILE') }}">
65+
<button type="submit" name="delete-profile" id="delete-profile" class="btn btn-danger" value="{{ lang('DELETE_PROFILE') }}" data-confirm="{{ lang('SURE_DELETE_PROFILE') }}">
6666
<svg class="bi icon text-white" width="16" height="16" fill="currentColor">
6767
<use xlink:href="{{ T_THEME_PATH }}/assets/img/bootstrap-icons.svg#trash"/>
6868
</svg> {{ lang('DELETE_PROFILE') }}
@@ -559,8 +559,8 @@ <h5 class="card-title">{{ lang('CHUNK_SETTINGS') }}</h5>
559559
<div class="input-group">
560560
<input class="form-control" type="text" id="save_profile" name="save_profile" value="{{ SAVE_PROFILE }}" aria-describedby="button-addon">
561561
<div class="input-group-append" id="button-addon">
562-
<button type="submit" name="submit" class="btn btn-primary">{{ lang('SAVE') }}</button>
563-
<button type="reset" name="reset" class="btn btn-secondary">{{ lang('RESET') }}</button>
562+
<button type="submit" name="submit" value="{{ lang('SAVE') }}" class="btn btn-primary">{{ lang('SAVE') }}</button>
563+
<button type="reset" name="reset" value="{{ lang('RESET') }}" class="btn btn-secondary">{{ lang('RESET') }}</button>
564564
</div>
565565
</div>
566566
</div>

style/sidebar_boards.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h5>{{ lang('BOARDS_LIST') }}</h5>
1313
<label class="custom-control-label" for="toggle_all">{{ lang('CHECK_ALL') }}</label>
1414
</div>
1515
<p>
16-
<button class="btn btn-danger" name="delete" type="submit" data-confirm="{{ lang('SURE_DELETE_BOARDS') }}">
16+
<button class="btn btn-danger" name="delete" type="submit" value="delete" data-confirm="{{ lang('SURE_DELETE_BOARDS') }}">
1717
<svg class="bi icon text-white" width="16" height="16" fill="currentColor">
1818
<use xlink:href="{{ T_THEME_PATH }}/assets/img/bootstrap-icons.svg#trash"/>
1919
</svg> {{ lang('DELETE') }}

0 commit comments

Comments
 (0)