Add altEmail to support ticket (when mail is down)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.type" required>
|
||||
<option value="app_error">App Error</option>
|
||||
<option value="ticket">Bug Report</option>
|
||||
<option value="email_error">Email Error</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group" ng-show="feedback.type === 'app_error'">
|
||||
@@ -26,6 +27,9 @@
|
||||
<option ng-repeat="app in apps" value="{{ app.id }}">{{ app.fqdn }}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group" ng-show="feedback.type === 'email_error'" ng-class="{ 'has-error': (feedbackForm.email.$dirty && feedbackForm.email.$invalid) }">
|
||||
<input type="text" class="form-control" name="email" placeholder="Provide an alternate email address to reach you" ng-model="feedback.altEmail" ng-maxlength="512" ng-minlength="1" required>
|
||||
</div>
|
||||
<div class="form-group" ng-class="{ 'has-error': (feedbackForm.subject.$dirty && feedbackForm.subject.$invalid) }">
|
||||
<input type="text" class="form-control" name="subject" placeholder="Topic" ng-model="feedback.subject" ng-maxlength="512" ng-minlength="1" required>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user