OpenSlides/client/src/app/site/motions/components/motion-change-recommendation/motion-change-recommendation.component.html

22 lines
1.0 KiB
HTML
Raw Normal View History

2018-09-30 18:43:20 +02:00
<h2 mat-dialog-title>Create a change recommendation</h2>
<mat-dialog-content>
<form class="motion-content" [formGroup]='contentForm' (ngSubmit)='saveChangeRecommendation()'>
<h3>Change from line {{ lineRange.from }} to {{ lineRange.to }}:</h3>
<mat-radio-group #rGroup formControlName="diffType">
<mat-radio-button *ngFor="let radio of replacementTypes" [value]="radio.value">{{ radio.title }}</mat-radio-button>
</mat-radio-group>
<mat-form-field class="wide-form">
<textarea matInput placeholder='Change recommendation Text' formControlName='text'></textarea>
</mat-form-field>
<mat-checkbox formControlName="public">{{ 'Public' | translate }}</mat-checkbox>
2018-09-30 18:43:20 +02:00
</form>
</mat-dialog-content>
<mat-dialog-actions>
2018-11-02 11:41:03 +01:00
<button mat-button mat-dialog-close translate>Abort</button>
2018-09-30 18:43:20 +02:00
<!-- The mat-dialog-close directive optionally accepts a value as a result for the dialog. -->
2018-11-02 11:41:03 +01:00
<button mat-button (click)="saveChangeRecommendation()" translate>Save</button>
2018-09-30 18:43:20 +02:00
</mat-dialog-actions>