Skip to content

Instantly share code, notes, and snippets.

@bangpound
Created June 1, 2016 02:59
Show Gist options
  • Save bangpound/75624491f3532b75e8a4c9c7f9449b8d to your computer and use it in GitHub Desktop.
Save bangpound/75624491f3532b75e8a4c9c7f9449b8d to your computer and use it in GitHub Desktop.
diff --git a/src/app/views/accountFormEdit.html b/src/app/views/accountFormEdit.html
index aad91b1..00dba76 100644
--- a/src/app/views/accountFormEdit.html
+++ b/src/app/views/accountFormEdit.html
@@ -35,8 +35,8 @@
<input type="number" class="form-control" id="balance" step="any" ng-model="accountForm.currentLedger.balance" required />
</div>
<div class="form-group">
- <label for="payment" ng-if="accountForm.accountType == 'saving'">Contribution this Month</label>
- <label for="payment" ng-if="accountForm.accountType == 'debt'">Payment this Month</label>
+ <label for="payment" ng-if="accountForm.accountType == 'saving'">Contribution</label>
+ <label for="payment" ng-if="accountForm.accountType == 'debt'">Payment</label>
<input type="number" class="form-control" id="payment" step="any" ng-model="accountForm.currentLedger.amount_submitted" min="0" required />
</div>
<div class="form-group text-right">
diff --git a/src/app/views/createAccountForm.html b/src/app/views/createAccountForm.html
index ac2e463..909f838 100644
--- a/src/app/views/createAccountForm.html
+++ b/src/app/views/createAccountForm.html
@@ -17,18 +17,18 @@
<input type="number" class="form-control" id="payment" step="any" ng-model="accountForm.newLedger.amount_submitted" min="0" required />
</div>
<div class="form-group">
- <label for="payment">Schedule</label>
- <select class="form-control" ng-model="accountForm.currentAccount.schedule" required>
- <option ng-repeat="schedule in accountForm.schedules" value="{{ schedule.id }}">{{ schedule.name }}</option>
- </select>
- </div>
- <div class="form-group">
<label for="interestRate">Interest Rate</label>
<div class="input-group">
<input type="number" class="form-control" id="interestRate" ng-model="accountForm.currentAccount.interest_rate" min="0" max="100" step=".1" required />
<span class="input-group-addon">%</span>
</div>
</div>
+ <div class="form-group">
+ <label for="payment">Schedule</label>
+ <select class="form-control" ng-model="accountForm.currentAccount.schedule" required>
+ <option ng-repeat="schedule in accountForm.schedules" value="{{ schedule.id }}">{{ schedule.name }}</option>
+ </select>
+ </div>
<div class="form-group text-right">
<button class="account-form btn btn-primary" type="submit" ng-click="accountForm.save()" ng-disabled="form.$invalid">Add</button>
<button class="account-form btn btn-default" ng-click="accountForm.close()">Cancel</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment