Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
fix: #89 get last changes and solve conflict
  • Loading branch information
daros10 committed Apr 22, 2020
commit 6a8cc0c7de8158fdea71b9a6b09180ab2ee76a3f
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
<div class="container mb-1">
<form style="width: 600px;">
<div class="form-group">
<input type="text" class="form-control form-control-sm" id="projectName" placeholder="Project name" />
<textarea
class="form-control form-control-sm mt-2"
id="exampleFormControlTextarea1"
rows="3"
placeholder="Description"
></textarea>
<select class="form-group custom-select custom-select-sm mt-2">
<option selected>Select project type</option>
<option value="1">a..</option>
<option value="2">b..</option>
</select>
<button type="submit" class="btn btn-sm btn-primary">Save</button>
<button type="submit" class="btn btn-sm btn-secondary mb-2 ml-2 mt-2">Cancel</button>
</div>
</form>
<hr />
<div class="row text-right">
<hr />
<div class="col-5 text-right">
<app-search-project></app-search-project>
<form style="width: 600px;" [formGroup]="projectForm" (ngSubmit)="onSubmit(projectForm.value)">
<div class="form-group">
<input
type="text"
class="form-control form-control-sm"
placeholder="Project name"
formControlName="name"
[class.is-invalid]="name.invalid && name.touched"
/>
<div class="text-danger" *ngIf="(name.dirty || name.touched) && name.invalid && name.errors.required">
Project name is required.
</div>
</div>
<textarea
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.