Fix coding style

This commit is contained in:
dklimpel 2020-03-29 20:48:11 +02:00
parent df8173b3b2
commit 7240cc67a0

View File

@ -74,18 +74,18 @@ export const UserCreate = props => (
<SimpleForm>
<TextInput source="id" autoComplete="off" validate={validateUser} />
<TextInput source="displayname" />
<ArrayInput source="threepids">
<SimpleFormIterator>
<SelectInput
source="medium"
choices={[
{ id: "email", name: "resources.users.email" },
{ id: "msisdn", name: "resources.users.msisdn" },
]}
/>
<TextInput source="address" />
</SimpleFormIterator>
</ArrayInput>
<ArrayInput source="threepids">
<SimpleFormIterator>
<SelectInput
source="medium"
choices={[
{ id: "email", name: "resources.users.email" },
{ id: "msisdn", name: "resources.users.msisdn" },
]}
/>
<TextInput source="address" />
</SimpleFormIterator>
</ArrayInput>
<PasswordInput source="password" autoComplete="new-password" />
<BooleanInput source="admin" />
</SimpleForm>