itizawa 5 лет назад
Родитель
Сommit
cedf55556f

+ 1 - 1
src/client/js/components/PageCreateModal.jsx

@@ -153,7 +153,7 @@ const PageCreateModal = (props) => {
           </fieldset>
         </div>
 
-        <div id="template-form" className="row form-group">
+        <div className="row form-group">
           <fieldset className="col-12">
             {/* eslint-disable-next-line react/no-danger */}
             <h3 className="grw-modal-head pb-2" dangerouslySetInnerHTML={{ __html: t('template.modal_label.Create template under', { path }) }} />

+ 1 - 0
src/client/js/legacy/crowi.js

@@ -219,6 +219,7 @@ $(() => {
   });
 
 
+  // TODO GW-2355 remove this after refactoring
   $('#create-page').on('shown.bs.modal', (e) => {
     // quick hack: replace from server side rendering "date" to client side "date"
     const today = new Date();

+ 1 - 0
src/server/views/modal/create_page.html

@@ -1,3 +1,4 @@
+<!-- TODO GW-2362 remove after adjust layout -->
 <div class="modal create-page" id="create-page">
   <div class="modal-dialog modal-lg">
     <div class="modal-content">