2018-07-31 14:44:52 +02:00
|
|
|
//@flow
|
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
|
|
import Page from "../../components/layout/Page"
|
|
|
|
|
import { translate } from "react-i18next";
|
2018-07-31 15:18:57 +02:00
|
|
|
import GroupForm from './GroupForm';
|
2018-07-31 14:44:52 +02:00
|
|
|
|
|
|
|
|
export interface Props {
|
|
|
|
|
t: string => string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface State {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class AddGroup extends React.Component<Props, State> {
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
const { t } = this.props;
|
|
|
|
|
return <Page title={t("add-group.title")} subtitle={t("add-group.subtitle")}><div><GroupForm /></div></Page>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-31 15:18:57 +02:00
|
|
|
export default translate("groups")(AddGroup);
|