new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
<div class="col-12 col-md-12">
|
||||
<div class="card flex-fill">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">{{lang('content','add_content')}}</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{{lang('content','Fields_marked_with_*_cannot_be_empty')}}... <hr>
|
||||
<form action="" method="post">
|
||||
<div class="mb-3">
|
||||
<label class="form-label">*{{lang('content','category')}}</label>
|
||||
<select name="category_id" id="" class="form-control" required>
|
||||
<option value="">{{lang('content','select_article_category')}}...</option>
|
||||
{{ KategoriListesi() }}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">*{{lang('content','title')}}</label>
|
||||
<input type="text" name="title" class="form-control" required>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">*{{lang('content','content')}}</label>
|
||||
<textarea name="content" id="editor" rows="20" class="form-control" required></textarea>
|
||||
<script>
|
||||
CKEDITOR.replace('editor', {
|
||||
language: "{{LANG}}" ,
|
||||
extraPlugins: 'codesnippet',
|
||||
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="mb-3">
|
||||
<label class="form-label">*{{lang('content','labels')}}</label>
|
||||
<input type="text" name="label" class="form-control" placeholder="{[ echo lang('content','label_placeholder') ]}..." required>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label>*{{lang('content','description')}}</label>
|
||||
<input type="text" name="description" class="form-control" required placeholder="{[ echo lang('content','description_placeholder') ]}...">
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label>*{{lang('wiki','choose_language')}}</label>
|
||||
<select name="lang" id="" class="form-control" required>
|
||||
<option value="">{{lang('wiki','please_select_language')}}</option>
|
||||
@foreach (languageList() as $key)
|
||||
<option value="{[ echo $key->slug ]}">{{$key->language}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block form-control">{{lang('content','save')}}</button>
|
||||
<br>
|
||||
|
||||
<h4> <span class="form-check-label text-danger">{{lang('content','note')}}</span></h4>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user