38 lines
1.5 KiB
PHP
38 lines
1.5 KiB
PHP
<h4 class="widgettitle title-light">{!! sprintf(__('headlines.duplicate_project_x'), $project['name']) !!}</h4>
|
|
|
|
{!! $tpl->displayNotification() !!}
|
|
|
|
<form class="formModal" method="post" action="{{ BASE_URL }}/projects/duplicateProject/{{ $project['id'] }}">
|
|
|
|
<label>{!! __('label.newProjectName') !!}</label>
|
|
<x-global::forms.text-input name="projectName" value="{!! __('label.copy_of') !!} {{ $project['name'] }}" /><br />
|
|
|
|
<label>{!! __('label.planned_start_date') !!}</label>
|
|
<input type="text" name="startDate" class="projectDateFrom" value="{{ format(date('Y-m-d'))->date() }}" placeholder="{{ __('language.dateformat') }}" id="sprintStart" /><br />
|
|
|
|
<label>{!! __('label.client_product') !!}</label>
|
|
<select name="clientId" id="clientId">
|
|
@foreach ($allClients as $row)
|
|
<option value="{{ $row['id'] }}"
|
|
@if ($project['clientId'] == $row['id']) selected=selected @endif
|
|
>{{ $row['name'] }}</option>
|
|
@endforeach
|
|
</select>
|
|
<br />
|
|
<input style="float:left; margin-right:5px;"
|
|
type="checkbox" name="assignSameUsers" id="assignSameUsers"/>
|
|
<label for="assignSameUsers">{!! __('label.assignSameUsers') !!}</label>
|
|
|
|
<br />
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<x-global::forms.button tag="input" inputType="submit" contentRole="primary" :labelText="__('buttons.duplicate')" />
|
|
</div>
|
|
<div class="col-md-6 align-right padding-top-sm">
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|