49 lines
1.9 KiB
PHP
49 lines
1.9 KiB
PHP
@view('Assets/editor')
|
||
<div class="container py-4">
|
||
<div class="row justify-content-center">
|
||
<div class="col-lg-8">
|
||
<div class="glass-card p-4">
|
||
@if($control != 0)
|
||
<h4 class="mb-4">{{lang('general','edit')}}</h4>
|
||
<form action="" method="post" id="bugsnew">
|
||
<div class="mb-3">
|
||
<label class="bugs-label">*Başlık</label>
|
||
<input type="text" class="bugs-input" name="title" value="{{bugsRow($id)->title}}">
|
||
</div>
|
||
|
||
<div class="mb-3">
|
||
<label class="bugs-label">*Kayıt Türü</label>
|
||
<select name="tasktype" id="task" class="bugs-input">
|
||
<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="mb-3" id="sistem1" style="display:none;">
|
||
<label class="bugs-label">Sistem Bilgileriniz</label>
|
||
<textarea name="system" class="bugs-input" rows="8" id="system">{{bugsRow($id)->system}}</textarea>
|
||
</div>
|
||
|
||
<div class="mb-3">
|
||
<label class="bugs-label">*Detaylar</label>
|
||
<span class="detayUyari text-danger small"></span>
|
||
<textarea name="details" id="editor" class="bugs-input details" rows="10">{{bugsRow($id)->details}}</textarea>
|
||
</div>
|
||
|
||
<input type="hidden" name="id" value="{{$id}}">
|
||
<button type="submit" class="btn-modern btn-modern-primary" id="formsubmit">
|
||
<i class="fa fa-save me-1"></i> Kaydet
|
||
</button>
|
||
</form>
|
||
@else
|
||
<div class="text-center py-4">
|
||
<i class="fa fa-lock fa-3x mb-3" style="color:var(--text-muted)"></i>
|
||
<h4 class="text-muted">Bu içeriği düzenlemeye yetkili değilsiniz.</h4>
|
||
</div>
|
||
@endif
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div> |