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

Edit Parameter

Edit Parameter
{{ all_errors($errors) }} @include('layouts.flash') {{ Form::open(['url' => 'attribute/update-parameter/'.$parameter->id.'/'.$hcm_id.'/'.$intersection_id.'/'.$level_id, 'method' => 'patch', 'class' => 'form-horizontal intersection_wrapper', 'id' => 'edit-form']) }}
{{ Form::label('name', 'Parameter Name', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('f_name',$parameter->f_name,['required', 'class' => 'form-control', 'placeholder' => 'First Name']) }}
{{ Form::text('l_name',$parameter->l_name,['required', 'class' => 'form-control', 'placeholder' => 'Last Name']) }}
{{ Form::text('alias',$parameter->alias,['required', 'class' => 'form-control', 'placeholder' => 'Alias']) }}
{{ Form::label('level', 'Choose HCM', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::select('hcm_id', ['' => 'Select HCM']+$hcms, [$hcm_id], ['required'=> true, 'class' => 'form-control', 'id' => 'hcm_id']) }}
{{ Form::label('intersection_id', 'Choose Intersection', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::label('level_id', 'Choose Level', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::label('description', 'Description', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::textarea('description',$parameter->description,['rows' => 5, 'class' => 'form-control']) }}
{{ Form::submit('Update Parameter', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@endsection @section('pageScript')