|
|
@@ -165,11 +165,7 @@ const PageCreateModal = (props) => {
|
|
|
</div>
|
|
|
|
|
|
<div className="d-flex justify-content-end mt-1 mt-sm-0">
|
|
|
- <button
|
|
|
- type="button"
|
|
|
- className="grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3"
|
|
|
- onClick={createTodayPage}
|
|
|
- >
|
|
|
+ <button type="button" className="grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3" onClick={createTodayPage}>
|
|
|
<i className="icon-fw icon-doc"></i>{t('Create')}
|
|
|
</button>
|
|
|
</div>
|
|
|
@@ -209,19 +205,13 @@ const PageCreateModal = (props) => {
|
|
|
placeholder={t('Input page name')}
|
|
|
onChange={e => onChangePageNameInputHandler(e.target.value)}
|
|
|
required
|
|
|
- data-testid="createPageInput"
|
|
|
/>
|
|
|
</form>
|
|
|
)}
|
|
|
</div>
|
|
|
|
|
|
<div className="d-flex justify-content-end mt-1 mt-sm-0">
|
|
|
- <button
|
|
|
- data-testid="createPageBtn"
|
|
|
- type="button"
|
|
|
- className="grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3"
|
|
|
- onClick={createInputPage}
|
|
|
- >
|
|
|
+ <button type="button" className="grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3" onClick={createInputPage}>
|
|
|
<i className="icon-fw icon-doc"></i>{t('Create')}
|
|
|
</button>
|
|
|
</div>
|