2018-10-15 13:36:19 +00:00
|
|
|
import DirtySubmitForm from './dirty_submit_form';
|
|
|
|
|
|
|
|
class DirtySubmitCollection {
|
|
|
|
constructor(forms) {
|
|
|
|
this.forms = forms;
|
|
|
|
|
|
|
|
this.dirtySubmits = [];
|
|
|
|
|
2020-12-23 21:10:24 +00:00
|
|
|
this.forms.forEach((form) => this.dirtySubmits.push(new DirtySubmitForm(form)));
|
2018-10-15 13:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default DirtySubmitCollection;
|