Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-419 (pull request #41)
Browse files Browse the repository at this point in the history
Fixed styling of file input

Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Mar 30, 2018
2 parents 9e48030 + d02b6b0 commit 70df290
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ <h3 class="tag tag-primary">
</div>
<div class="form-group">
<label i18n="@@label--service-provider-file" for="fileInput">Select Provider Metadata File</label>
<label class="custom-file d-block">
<div class="custom-file d-block">
<input id="fileInput" type="file" name="file" class="custom-file-input" (change)="fileChange($event)" />
<ng-container>
<label for="fileInput" class="custom-file-label">
<span *ngIf="!providerForm.get('file').value" class="custom-file-control" i18n="@@action--choose-file">Choose File</span>
<span *ngIf="providerForm.get('file').value" class="custom-file-control" i18n="@@action--choose-file">{{ providerForm.get('file').value }}</span>
</ng-container>
</label>
</label>
</div>
</div>
<div class="text-center">
&mdash;
Expand Down

0 comments on commit 70df290

Please sign in to comment.