@extends('layouts.default')
@section('content')
Add a new station
{!! Form::model($station, ['action' => 'StationsController@store']) !!}
{!! Form::Label('station', 'Station name:') !!}
{!! Form::text('station_name', null, ['class' => 'form-control']); !!}
{!! Form::Label('station', 'longitude:') !!}
{!! Form::number('longitude', null, ['class' => 'form-control', 'step' => '0.01']); !!}
{!! Form::Label('station', 'latitude:') !!}
{!! Form::number('latitude', null, ['class' => 'form-control', 'step' => '0.01']); !!}
{!! Form::Label('station', 'altitude:') !!}
{!! Form::number('altitude', null, ['class' => 'form-control', 'step' => '0.01']); !!}
{!! Form::Label('station', 'station type:') !!}
{!! Form::select('station_type_id', $station_types, null, ['class' => 'form-control']); !!}
{!! Form::Label('station', 'Region:') !!}
{!! Form::select('region_id', $regions, null, ['class' => 'form-control']); !!}
{!! Form::submit('Submit'); !!}
{!! Form::close() !!}
@endsection