Bugfixing.
This commit is contained in:
parent
86efa11994
commit
5670d21e76
31 changed files with 241 additions and 216 deletions
|
@ -20,6 +20,7 @@ import {
|
|||
Form,
|
||||
FormSendMethod,
|
||||
InputField,
|
||||
StaticField,
|
||||
TextArea,
|
||||
withForm
|
||||
} from '../lib/form';
|
||||
|
@ -37,6 +38,8 @@ import {
|
|||
MailerType
|
||||
} from "../../../shared/send-configurations";
|
||||
|
||||
import styles from "../lib/styles.scss";
|
||||
|
||||
import mailtrainConfig from 'mailtrainConfig';
|
||||
|
||||
|
||||
|
@ -189,6 +192,13 @@ export default class CUD extends Component {
|
|||
<Form stateOwner={this} onSubmitAsync={::this.submitHandler}>
|
||||
|
||||
<InputField id="name" label={t('Name')}/>
|
||||
|
||||
{isEdit &&
|
||||
<StaticField id="cid" className={styles.formDisabled} label={t('ID')}>
|
||||
{this.getFormValue('cid')}
|
||||
</StaticField>
|
||||
}
|
||||
|
||||
<TextArea id="description" label={t('Description')}/>
|
||||
<NamespaceSelect/>
|
||||
|
||||
|
@ -221,6 +231,8 @@ export default class CUD extends Component {
|
|||
}
|
||||
</Fieldset>
|
||||
|
||||
<hr/>
|
||||
|
||||
<ButtonRow>
|
||||
<Button type="submit" className="btn-primary" icon="ok" label={t('Save')}/>
|
||||
{canDelete &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue