@extends('layouts.main') @section('content')

{{ __('age_groups.edit_age_group') }}

@include('clinical_data::age_groups.menu')
@include('flash::message') {{ Form::model($age_group, ['method' => 'PUT', 'route' => ['age_groups.update',$age_group], 'data-toggle' => 'validator']) }}
{{ Form::label('name', __('age_groups.age_group')) }} {{ Form::text('name', $age_group->name, ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('from_age', __('age_groups.from_age')) }} {{ Form::number('from_age', $age_group->from_age, ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('age_type', __('age_groups.age_type')) }} {{ Form::select('age_type', ['' => '--select--', 1 => 'Years', 2 => 'Months', 3 => 'Days'], $age_group->age_type, ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('to_age', __('age_groups.to_age')) }} {{ Form::number('to_age', $age_group->to_age, ['class' => 'form-control compulsory', 'required']) }}
{{ Form::button(__('age_groups.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }} {{ Form::button(__('age_groups.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }} {{ Form::close() }}
@endsection @push('scripts') @endpush