More specific group contact controller name and email subject

This form is only used on the group contact modal.
This commit is contained in:
Jessica Lawshe 2018-09-17 08:55:13 -05:00
parent 784984dd78
commit 4f5c12e9ac
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ script(type="text/ng-template", id="groupPlanModalTemplate")
.modal-header
h3 #{translate("group_plan_enquiry")}
.modal-body
form.text-left.form(ng-controller="UniverstiesContactController", ng-submit="contactUs()")
form.text-left.form(ng-controller="GroupPlanContactController", ng-submit="contactUs()")
span(ng-show="sent == false && error == false")
.form-group
label#title9(for='Field9')

View file

@ -2,7 +2,7 @@ define [
"base"
"libs/platform"
], (App, platform) ->
App.controller 'UniverstiesContactController', ($scope, $modal, $http) ->
App.controller 'GroupPlanContactController', ($scope, $modal, $http) ->
$scope.form = {}
$scope.sent = false
@ -20,7 +20,7 @@ define [
email: $scope.form.email
labels: "#{$scope.form.source} accounts"
message: "Please contact me with more details"
subject: "#{$scope.form.name} - General Enquiry - #{$scope.form.position} - #{$scope.form.university}"
subject: "#{$scope.form.name} - Group Enquiry - #{$scope.form.position} - #{$scope.form.university}"
inbox: "accounts"
request = $http.post "/support", data