Skip to content
Snippets Groups Projects
Verified Commit 8cb718eb authored by Hermann's avatar Hermann Committed by Sandro Lutz
Browse files

update to new ui-components

parent c562805d
No related branches found
No related tags found
1 merge request!43Changes to studydocuments
import m from 'mithril';
import { fileInput } from 'amiv-web-ui-components';
import { FileInput } from 'amiv-web-ui-components';
import { RadioGroup, Button, List, ListTile } from 'polythene-mithril';
import EditView from '../views/editView';
......@@ -64,7 +64,7 @@ export default class editDoc extends EditView {
m(List, {
tiles: this.form.data.files.map(file => m(ListTile, {
content: [
m(fileInput, this.form.bind({
m(FileInput, this.form.bind({
name: 'new_file',
label: `${file.name}`,
})),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment