Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: #539 reduce separation on search form
  • Loading branch information
enriquezrene committed Oct 15, 2020
commit fd73afe24bded1d4ae23ea7416f886b00d542963
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
<form [formGroup]="reportForm" (ngSubmit)="onSubmit()">
<form class="form-inline" [formGroup]="reportForm" (ngSubmit)="onSubmit()">

<div class="form-group row">
<label class="col-12 col-md-2 col-form-label my-1">Start date:</label>
<div class="col-12 col-sm-6 col-md-3 my-1">
<div class="form-group">
<label>Start date:</label>
<div>
<app-input-date
formControlName="startDate"
id="startDate"
required="true"
></app-input-date>
</div>
</div>

<div class="form-group" style="width: 3rem"></div>

<label class="col-12 col-md-2 col-form-label my-1">End date:</label>
<div class="col-12 col-sm-6 col-md-3 my-1">
<div class="form-group">
<label>End date:</label>
<div>
<app-input-date
formControlName="endDate"
id="endDate"
required="true"
></app-input-date>
</div>

<div class="col-12 col-md-2 my-1">
<button type="submit" class="btn btn-primary">Search</button>
</div>
</div>

<div class="form-group" style="width: 3rem"></div>

<button type="submit" class="btn btn-primary">Search</button>

</form>