mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
fix document detail date and tag editing
This commit is contained in:
parent
9089ed69c0
commit
9c996e69bb
2 changed files with 22 additions and 23 deletions
|
|
@ -83,21 +83,9 @@
|
|||
<label for="exampleFormControlTextarea1">Tags</label>
|
||||
|
||||
<div class="input-group">
|
||||
<div class="form-control">
|
||||
<span *ngFor="let tag of documentForm.value.tags">
|
||||
<app-tag [tag]="tag" [clickable]="true" (click)="removeTag(tag)"></app-tag>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="input-group-append" ngbDropdown>
|
||||
<button class="btn btn-outline-secondary" type="button" ngbDropdownToggle></button>
|
||||
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
|
||||
<button type="button" *ngFor="let tag of tags" ngbDropdownItem (click)="addTag(tag)">
|
||||
<app-tag [tag]="tag"></app-tag>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<select multiple class="form-control" id="tags" formControlName="tags_id">
|
||||
<option *ngFor="let t of tags" [ngValue]="t.id">{{t.name}}</option>
|
||||
</select>
|
||||
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-secondary" type="button" (click)="createTag()">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue