Skip to content

Commit

Permalink
chore: remove hanging form element
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie committed Apr 17, 2024
1 parent 0b710f9 commit a095c13
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions wiki/wiki/doctype/wiki_page/templates/page_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,26 @@ <h5 class="modal-title page-settings-title">Page Settings</h5>
</button>
</div>
<div class="modal-body">
<form class="page-settings-form">
<div class="form-group">
<div>
<label class="text-muted text-xs" for="pageRoute">Route</label>
<div class="flex align-items-center">
<div class="text-sm wiki-space-route-block"
title="Wiki Space route (can't be modified)">
{{ route.split('/')[0] }}/
</div>
<input value="{{ " /".join(route.split('/')[1:]) }}" type="text" id="pageRoute"
name="pageRoute" class="form-control"
style="border-top-left-radius: 0; border-bottom-left-radius: 0;">
<div class="form-group">
<div>
<label class="text-muted text-xs" for="pageRoute">Route</label>
<div class="flex align-items-center">
<div class="text-sm wiki-space-route-block" title="Wiki Space route (can't be modified)">
{{ route.split('/')[0] }}/
</div>
<input value="{{ " /".join(route.split('/')[1:]) }}" type="text" id="pageRoute"
name="pageRoute" class="form-control"
style="border-top-left-radius: 0; border-bottom-left-radius: 0;">
</div>
<div class="mt-4 flex align-content-center">
<input type="checkbox" id="pageHideOnSidebar" {{ 'checked' if bool(hide_on_sidebar) else ''
}} name="pageHideOnSidebar">
<label class="text-muted text-xs" for="pageHideOnSidebar" class="mt-2">
Hide on Sidebar
</label>
</div>
</div>
<div class="mt-4 flex align-content-center">
<input type="checkbox" id="pageHideOnSidebar" {{ 'checked' if bool(hide_on_sidebar) else '' }}
name="pageHideOnSidebar">
<label class="text-muted text-xs" for="pageHideOnSidebar" class="mt-2">
Hide on Sidebar
</label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" data-modal-button="update"
Expand Down

0 comments on commit a095c13

Please sign in to comment.