Skip to content

Commit

Permalink
fix(page-settings): broken route formatting
Browse files Browse the repository at this point in the history
happened due to auto format on save :/
  • Loading branch information
BreadGenie committed Apr 16, 2024
1 parent 2e33fc9 commit 0b710f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wiki/wiki/doctype/wiki_page/templates/page_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ <h5 class="modal-title page-settings-title">Page Settings</h5>
title="Wiki Space route (can't be modified)">
{{ route.split('/')[0] }}/
</div>
<input type="text" id="pageRoute" name="pageRoute" class="form-control"
style="border-top-left-radius: 0; border-bottom-left-radius: 0;" value="{{ "
/".join(route.split('/')[1:]) }}">
<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>
<div class="mt-4 flex align-content-center">
Expand Down

0 comments on commit 0b710f9

Please sign in to comment.