minor fixes
This commit is contained in:
parent
32815f7e92
commit
46baf0443d
@ -2,25 +2,25 @@
|
||||
|
||||
<form (submit)="saveProject()" [formGroup]="projectForm">
|
||||
<div
|
||||
[translate]="project?.projectId ? 'projects.add-edit-dialog.header-edit.label': 'projects.add-edit-dialog.header-new.label'"
|
||||
[translate]="project?.projectId ? 'project-listing.add-edit-dialog.header-edit.label': 'project-listing.add-edit-dialog.header-new.label'"
|
||||
class="dialog-header heading-l">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="dialog-content">
|
||||
<div class="red-input-group">
|
||||
<label translate="projects.add-edit-dialog.form.name.label"></label>
|
||||
<label translate="project-listing.add-edit-dialog.form.name.label"></label>
|
||||
<input formControlName="projectName" name="projectName" type="text">
|
||||
</div>
|
||||
<div class="red-input-group">
|
||||
<label translate="projects.add-edit-dialog.form.description.label"></label>
|
||||
<label translate="project-listing.add-edit-dialog.form.description.label"></label>
|
||||
<textarea formControlName="description" name="description" type="text" rows="5"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dialog-actions">
|
||||
<button [disabled]="projectForm.invalid" color="primary" mat-flat-button
|
||||
translate="projects.add-edit-dialog.actions.save.label" type="submit"></button>
|
||||
translate="project-listing.add-edit-dialog.actions.save.label" type="submit"></button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
.dialog-actions {
|
||||
padding-top: 12px;
|
||||
|
||||
display: flex;
|
||||
> * {
|
||||
margin-right: 16px
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user