web-mooc/resources/views/admin/blog_category/create.blade.php
2025-10-30 10:32:19 +07:00

17 lines
806 B
PHP

<form action="{{ route('admin.blog.category.store') }}" method="post">@csrf
<div class="fpb7 mb-2">
<label class="form-label ol-form-label" for="title">{{ get_phrase('Title') }}</label>
<input class="form-control ol-form-control" type="text" id="title" name="title" required>
</div>
<div class="fpb7 mb-2">
<label class="form-label ol-form-label" for="subtitle">
{{ get_phrase('Subtitle') }} <small class="text-muted">{{ get_phrase('(80 Character)') }}</small>
</label>
<textarea class="form-control ol-form-control" rows="3" name="subtitle" id="subtitle" maxlength="80"></textarea>
</div>
<div class="fpb7 mb-2">
<button type="submit" class="btn ol-btn-primary">{{ get_phrase('Add category') }}</button>
</div>
</form>