Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
</div>
</div>
<div class="modal-footer">
- <input type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
- <button class="btn btn-warning" ng-click="cancel($event)">[% l('Cancel') %]</button>
+ <div class="row">
+ <div class="col-md-2">
+ <input type="text" class="form-control"
+ ng-model="args.initials" placeholder="[% l('Initials') %]" required/>
+ </div>
+ <div class="col-md-10 pull-right">
+ <input type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
+ <button class="btn btn-warning" ng-click="cancel($event)">[% l('Cancel') %]</button>
+ </div>
+ </div>
</div>
</form>
var pen = new egCore.idl.ausp();
pen.usr(user_id);
pen.org_unit(egCore.auth.user().ws_ou());
- pen.note(args.note);
+ pen.note(args.note + ' [' + args.initials + ']');
if (args.custom_penalty) {
pen.standing_penalty(args.custom_penalty);
} else {