mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 23:29:00 +02:00
More specific group contact controller name and email subject
This form is only used on the group contact modal.
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user