33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
<div class="card">
|
|
<div class="card-header bg-primary">
|
|
<h5 class="card-title text-white">SSS Düzenleme</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="" method="post" class="form-horizontal">
|
|
|
|
<div class="mb-3">
|
|
<label class="control-label">Soru:</label>
|
|
<input type="text" class="form-control" name="question" value="{{$edit->question}}" >
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label class="control-label">Cevap:</label>
|
|
<textarea name="answer" id="editor" rows="20" class="form-control">{{$edit->answer}}</textarea>
|
|
<script>
|
|
CKEDITOR.replace('editor', {
|
|
height: 1000,
|
|
filebrowserBrowseUrl : '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
|
|
filebrowserUploadUrl : '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
|
|
filebrowserImageBrowseUrl : '/filemanager/dialog.php?type=1&editor=ckeditor&fldr='
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<input type="hidden" name="id" value="{[ echo $edit->id; ]}">
|
|
<input type="hidden" name="status" value="1">
|
|
<button type="submit" class="btn btn-success btn-block">Kaydet</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div> |