style: format code and add prettier configuration files
This commit is contained in:
parent
3e0b17ebe6
commit
395c1bc75f
39 changed files with 338 additions and 207 deletions
|
@ -1,17 +1,24 @@
|
|||
<div class="mx-auto container">
|
||||
<app-navbar></app-navbar>
|
||||
<button mat-flat-button class="mt-3" color="warn" (click)="back()">Back</button>
|
||||
<button mat-flat-button class="mt-3" color="warn" (click)="back()">
|
||||
Back
|
||||
</button>
|
||||
<mat-card class="mt-3 p-3" appearance="outlined">
|
||||
<form class="flex flex-col" [formGroup]="createLinkForm">
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-error>{{errorMessages['name']}}</mat-error>
|
||||
<mat-error>{{ errorMessages["name"] }}</mat-error>
|
||||
<mat-label>Name</mat-label>
|
||||
<input formControlName="name" matInput placeholder="My Awesome link">
|
||||
<input formControlName="name" matInput placeholder="My Awesome link" />
|
||||
</mat-form-field>
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-error>{{errorMessages['link']}}</mat-error>
|
||||
<mat-error>{{ errorMessages["link"] }}</mat-error>
|
||||
<mat-label>Link</mat-label>
|
||||
<input formControlName="link" matInput type="url" placeholder="https://kjan.de">
|
||||
<input
|
||||
formControlName="link"
|
||||
matInput
|
||||
type="url"
|
||||
placeholder="https://kjan.de"
|
||||
/>
|
||||
</mat-form-field>
|
||||
<button mat-flat-button type="submit" (click)="submit()">Create</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue