48 lines
1.6 KiB
PHP
48 lines
1.6 KiB
PHP
|
||
<br>
|
||
<div class="container">
|
||
<div class="card">
|
||
|
||
<div class="card-body">
|
||
@if($control != 0)
|
||
|
||
<form action="" method="post" id="bugsnew" >
|
||
<div class="form-group">
|
||
<label>*Başlık</label>
|
||
<input type="text" class="form-control" name="title" value="{{bugsRow($id)->title}}" >
|
||
</div>
|
||
<div class="form-group">
|
||
<label>*Kayıt Türü</label>
|
||
<select name="tasktype" id="task" class="form-control" >
|
||
<option value="">Seçiniz.</option>
|
||
@foreach(taskType() as $key)
|
||
<option value="{{$key->id}}"{{selected($key->id,bugsRow($id)->tasktype)}}>{{$key->tasktype}}</option>
|
||
@endforeach
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-group" id="sistem1" style="display:none;" >
|
||
<label>Sistem Bilgileriniz</label>
|
||
<textarea name="system" class="form-control" rows="8" id="system">{{bugsRow($id)->system}}</textarea>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label>*Detaylar</label>
|
||
<span class="detayUyari"></span>
|
||
<textarea name="details" id="editor" class="form-control details" rows="10" >
|
||
{{bugsRow($id)->details}}</textarea>
|
||
</div>
|
||
|
||
<input type="hidden" name="id" value="{{$id}}">
|
||
<button type="submit" class="btn btn-primary btn-block " id="formsubmit" >Kaydet</button>
|
||
</form>
|
||
@else
|
||
|
||
<h1>Bu içeriği düzenlemeye yetkili değilsiniz.</h1>
|
||
|
||
@endif
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|