Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add new wizard step - attendee form #2961

Merged
merged 12 commits into from Jun 21, 2019

fix eslint errors and typos

  • Loading branch information...
uds5501 committed Jun 21, 2019
commit 05ff8e3c02456cdcce43884eb57e7a4283096d54
@@ -15,9 +15,9 @@ export default Controller.extend(EventWizardMixin, {
this.saveEventDataAndRedirectTo(
'events.view.index',
[]
);
);
} catch (error) {
this.notify.error(this.ln10.t(error.message));
this.notify.error(this.l10n.t(error.message));
}
},
async move(direction, data) {
@@ -26,9 +26,9 @@ export default Controller.extend(EventWizardMixin, {
this.saveEventDataAndRedirectTo(
direction === 'forwards' ? 'events.view.edit.sponsors' : 'events.view.edit.basic-details',
[]
);
);
} catch (error) {
this.notify.error(this.ln10.t(error.message));
this.notify.error(this.l10n.t(error.message));
}
}
}
@@ -90,7 +90,6 @@
</div>
{{/if}}
<div class="spacer-50"></div>

<div class="{{if device.isMobile 'mini four' 'right floated large'}} ui fields buttons">
<button class="ui three field left labeled icon button {{if isLoading 'disabled'}}" type="button" {{action 'move' 'backwards'}}>
{{t 'Previous'}}
@@ -111,5 +110,4 @@
</button>
{{/if}}
</div>

</form>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.