Viewing file: milestone.blade.php (2.36 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{ Form::open(array('route' => array('project.milestone.store',$project->id))) }} <div class="modal-body"> <div class="row"> <div class="form-group col-md-6"> {{ Form::label('title', __('Title'),['class' => 'form-label']) }} {{ Form::text('title', null, array('class' => 'form-control','required'=>'required')) }} @error('title') <span class="invalid-title" role="alert"> <strong class="text-danger">{{ $message }}</strong </span> @enderror </div> <div class="form-group col-md-6"> {{ Form::label('status', __('Status'),['class' => 'form-label']) }} {!! Form::select('status',\App\Models\Project::$project_status, null,array('class' => 'form-control select','required'=>'required')) !!} @error('client') <span class="invalid-client" role="alert"> <strong class="text-danger">{{ $message }}</strong> </span> @enderror </div> <div class="form-group col-md-6"> {{ Form::label('start_date', __('Start Date'),['class' => 'col-form-label']) }} {{ Form::date('start_date', '', array('class' => 'form-control','required'=>'required')) }} </div> <div class="form-group col-md-6"> {{ Form::label('due_date', __('Due Date'),['class' => 'col-form-label']) }} {{ Form::date('due_date', '', array('class' => 'form-control','required'=>'required')) }} </div> <div class="form-group col-md-6"> {{ Form::label('cost', __('Cost'),['class' => 'col-form-label']) }} {{ Form::number('cost', '', array('class' => 'form-control','required'=>'required','stage'=>'0.01')) }} </div> </div> <div class="row"> <div class="form-group col-md-12"> {{ Form::label('description', __('Description'),['class' => 'form-label']) }} {!! Form::textarea('description', null, ['class'=>'form-control','rows'=>'2']) !!} @error('description') <span class="invalid-description" role="alert"> <strong class="text-danger">{{ $message }}</strong> </span> @enderror </div> </div> </div> <div class="modal-footer"> <input type="button" value="{{__('Cancel')}}" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="{{__('Create')}}" class="btn btn-primary"> </div> {{ Form::close() }}
|