Файловый менеджер - Редактировать - /home/clickysoft/public_html/charliapp-v2.clickysoft.net/resources/views/admin/calendars/edit.blade.php
Назад
@extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.calendar.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.calendars.update", [$calendar->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label for="user_id">{{ trans('cruds.brainstorm.fields.user') }}</label> <select class="form-control select2 {{ $errors->has('user_id') ? 'is-invalid' : '' }}" name="user_id" id="user_id"> @foreach($users as $id => $entry) <option value="{{ $id }}" {{ old('user_id', $calendar->user_id) == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('user_id')) <div class="invalid-feedback"> {{ $errors->first('user_id') }} </div> @endif </div> <div class="form-group"> <label class="required" for="title">{{ trans('cruds.calendar.fields.title') }}</label> <input class="form-control {{ $errors->has('title') ? 'is-invalid' : '' }}" type="text" name="title" id="title" value="{{ old('title', $calendar->title) }}"> @if($errors->has('title')) <div class="invalid-feedback"> {{ $errors->first('title') }} </div> @endif </div> <div class="form-group"> <label for="description">{{ trans('cruds.calendar.fields.description') }}</label> <input class="form-control {{ $errors->has('description') ? 'is-invalid' : '' }}" type="text" name="description" id="description" value="{{ old('description', $calendar->description) }}"> @if($errors->has('description')) <div class="invalid-feedback"> {{ $errors->first('description') }} </div> @endif </div> <div class="form-group"> <label class="required" for="event_date">{{ trans('cruds.calendar.fields.event_date') }}</label> <input class="form-control date {{ $errors->has('event_date') ? 'is-invalid' : '' }}" type="text" name="event_date" id="event_date" value="{{ old('event_date', $calendar->event_date) }}"> @if($errors->has('event_date')) <div class="invalid-feedback"> {{ $errors->first('event_date') }} </div> @endif </div> <div class="form-group"> <label class="required" for="start_time">{{ trans('cruds.calendar.fields.start_time') }}</label> <input class="form-control timepicker {{ $errors->has('start_time') ? 'is-invalid' : '' }}" type="text" name="start_time" id="start_time" value="{{ old('start_time', $calendar->start_time) }}"> @if($errors->has('start_time')) <div class="invalid-feedback"> {{ $errors->first('start_time') }} </div> @endif </div> <div class="form-group"> <label class="required" for="end_time">{{ trans('cruds.calendar.fields.end_time') }}</label> <input class="form-control timepicker {{ $errors->has('end_time') ? 'is-invalid' : '' }}" type="text" name="end_time" id="end_time" value="{{ old('end_time', $calendar->end_time) }}"> @if($errors->has('end_time')) <div class="invalid-feedback"> {{ $errors->first('end_time') }} </div> @endif </div> <div class="form-group"> <label class="required" for="color_id">{{ trans('cruds.calendar.fields.color') }}</label> {!! colorDropDown($colors, ($errors->has('color') ? 'is-invalid' : ''), old('color_id', $calendar->color_id)) !!} @if($errors->has('color')) <div class="invalid-feedback"> {{ $errors->first('color') }} </div> @endif </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка