Ivan - Custom responses add buttons [skip ci]
This commit is contained in:
parent
d75ad2e165
commit
665273f0a9
|
@ -10,6 +10,7 @@ import ModalContainer from 'app-components/modal-container';
|
|||
import AreYouSure from 'app-components/are-you-sure';
|
||||
|
||||
import Icon from 'core-components/icon';
|
||||
import Button from 'core-components/button';
|
||||
import Header from 'core-components/header';
|
||||
import Listing from 'core-components/listing';
|
||||
import Loading from 'core-components/loading';
|
||||
|
@ -54,7 +55,17 @@ class AdminPanelCustomResponses extends React.Component {
|
|||
<Form {...this.getFormProps()}>
|
||||
<FormField label={i18n('TITLE')} name="title" validation="TITLE" required fieldProps={{size: 'large'}}/>
|
||||
<FormField label={i18n('CONTENT')} name="content" validation="TEXT_AREA" required field="textarea" />
|
||||
<SubmitButton>{i18n('SAVE')}</SubmitButton>
|
||||
<div className="admin-panel-custom-responses__actions">
|
||||
<div className="admin-panel-custom-responses__save-button">
|
||||
<SubmitButton type="secondary" size="small">{i18n('SAVE')}</SubmitButton>
|
||||
</div>
|
||||
<div className="admin-panel-custom-responses__discard-button">
|
||||
<Button>{i18n('DISCARD_CHANGES')}</Button>
|
||||
</div>
|
||||
<div className="admin-panel-custom-responses__delete-button">
|
||||
<Button size="small">{i18n('DELETE')}</Button>
|
||||
</div>
|
||||
</div>
|
||||
</Form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,4 +6,22 @@
|
|||
&__item-flag {
|
||||
float: right;
|
||||
}
|
||||
|
||||
&__actions {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&__save-button {
|
||||
display: inline-block;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
&__discard-button {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&__delete-button {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
}
|
|
@ -56,6 +56,9 @@ export default {
|
|||
'LOW': 'Low',
|
||||
'TITLE': 'Title',
|
||||
'CONTENT': 'Content',
|
||||
'SAVE': 'Save',
|
||||
'DISCARD_CHANGES': 'Discard changes',
|
||||
'DELETE': 'Delete',
|
||||
|
||||
//VIEW DESCRIPTIONS
|
||||
'CREATE_TICKET_DESCRIPTION': 'This is a form for creating tickets. Fill the form and send us your issues/doubts/suggestions. Our support system will answer it as soon as possible.',
|
||||
|
|
Loading…
Reference in New Issue