@extends('layouts.app') @section('pageStyle') @endsection @section('content')

{{ $title }}

{{ all_errors($errors) }} @include('layouts.flash') {{ Form::open(['url' => 'project/update/'.$project->id, 'method' => 'patch', 'class' => 'form-horizontal', 'role' => 'form' ]) }}
{{ Form::label('project_identifier', 'Project ID *', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('project_identifier', $project->project_identifier, ['class' => 'form-control', 'id' => 'project_id', 'placeholder' => 'Project ID']) }}
{{ Form::label('name', 'Project Name *', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('name', $project->name, ['required', 'class' => 'form-control', 'placeholder' => 'Project Name']) }}
{{ Form::label('city', 'City Name *', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('city', $project->city, ['required', 'class' => 'form-control', 'placeholder' => 'City Name']) }}
{{ Form::label('zipcode', 'Zip Code *', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('zipcode', $project->zipcode, ['required', 'class' => 'form-control', 'placeholder' => 'Zip Code']) }}
{{ Form::label('state', 'State *', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('state', $project->state, ['required', 'class' => 'form-control', 'placeholder' => 'State']) }}
{{ Form::label('client_name', 'Client Name', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('client_name', $project->client_name, ['required', 'class' => 'form-control', 'placeholder' => 'Client Name']) }}
{{ Form::label('no_of_scenario', 'No of Scenario *', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::number('no_of_scenario', $project->no_of_scenario, ['required', 'class' => 'form-control add_Scenario', 'min' => 1, 'autocomplete' => 'off']) }}
@forelse($project->scenarios as $key => $scenario) @empty @endforelse
Action Scenario Name Scenario Description List of year
@forelse(explode('||',$scenario->year) as $year) @empty @endforelse
{{ Form::label('desc', 'Project Description', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::textarea('desc', $project->desc, ['rows' => 5, 'class' => 'form-control']) }}
{{ Form::submit('submit', ['class' => 'btn btn-primary pull-right']) }}
{{ Form::close() }}
@endsection @section('pageScript')