Rename 'add/submit transaction'

This commit is contained in:
Ben Goldsworthy 2020-10-17 18:52:03 +01:00
parent bca0e740ef
commit 5ea99fb519
2 changed files with 9 additions and 3 deletions

View file

@ -3,14 +3,20 @@
<div class="col-lg-6 col-md-8">
<div class="card">
<div class="card-header">
<strong>Submit Transaction</strong>
<strong>Record Transaction</strong>
<small>Required Data marked in <strong>bold</strong>.</small>
</div>
<div class="card-block">
<div class="form-group row">
<label class="col-md-3 form-control-label" for="text-input"><strong>Time of Transaction</strong></label>
<div class="col-md-9">
<input type="datetime-local" class="form-control" [min]="minDate" [(ngModel)]="myDate" (ngModelChange)="transactionFormValidate()">
<input
type="datetime-local"
class="form-control"
[min]="minDate"
[(ngModel)]="myDate"
(ngModelChange)="transactionFormValidate()"
>
<span class="help-block">Enter the date and time the transaction occurred.</span>
</div>
</div>

View file

@ -48,7 +48,7 @@ const routes: Routes = [
{
path: 'add-data',
component: AddDataComponent,
data: { title: 'Add Transaction' },
data: { title: 'Record Transaction' },
},
{
path: 'leaderboard',