How to use the phoenix/forms/schedule-interaction-form.create function in phoenix

To help you get started, we’ve selected a few phoenix examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alphasights / ember-scrollable / app / routes / dashboard / schedule-interaction.js View on Github external
setupController: function(controller, models) {
    controller.setProperties({
      model: models.interaction,
      unavailabilities: models.unavailabilities,

      scheduleInteractionForm: ScheduleInteractionForm.create({
        model: models.interaction,
        interactionTypes: models.interactionTypes.interaction_types,
        interactionClassifications: models.interactionTypes.classifications,
        speakDialInCountries: models.speakDialInCountries.dial_ins,
        container: this.get('container')
      })
    });
  }
});