75 lines
3.1 KiB
PHP
75 lines
3.1 KiB
PHP
@if(Session::has('success'))
|
||
<div class="alert alert-success alert-dismissible" role="alert">
|
||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||
{{ Session::get('success') }}
|
||
</div>
|
||
@elseif(Session::has('error'))
|
||
<div class="alert alert-danger alert-dismissible">
|
||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||
<h4><i class="icon fa fa-ban"></i> {{__('誤差')}}:</h4>
|
||
{!! Session::get('error') !!}
|
||
</div>
|
||
@endif
|
||
|
||
<div class="card-header">
|
||
<a href="{{ route('neighbor_stations') }}" class="btn btn-secondary">戻る</a>
|
||
</div>
|
||
|
||
<div class="card-body">
|
||
<div class="row">
|
||
{{-- 近傍駅名 --}}
|
||
<div class="form-group col-3">
|
||
<label class="required">{{ __('近傍駅名') }}</label>
|
||
</div>
|
||
<div class="form-group col-9">
|
||
<input type="text" name="station_neighbor_station" class="form-control form-control-lg"
|
||
value="{{ old('station_neighbor_station', $station->station_neighbor_station ?? '') }}"
|
||
placeholder="{{ __('近傍駅名') }}" @if($isInfo) readonly @endif />
|
||
</div>
|
||
|
||
{{-- フリガナ --}}
|
||
<div class="form-group col-3">
|
||
<label>{{ __('フリガナ') }}</label>
|
||
</div>
|
||
<div class="form-group col-9">
|
||
<input type="text" name="station_name_ruby" class="form-control form-control-lg"
|
||
value="{{ old('station_name_ruby', $station->station_name_ruby ?? '') }}"
|
||
placeholder="{{ __('フリガナ') }}" @if($isInfo) readonly @endif />
|
||
</div>
|
||
|
||
{{-- 路線名 --}}
|
||
<div class="form-group col-3">
|
||
<label>{{ __('路線名') }}</label>
|
||
</div>
|
||
<div class="form-group col-9">
|
||
<input type="text" name="station_route_name" class="form-control form-control-lg"
|
||
value="{{ old('station_route_name', $station->station_route_name ?? '') }}"
|
||
placeholder="{{ __('路線名') }}" @if($isInfo) readonly @endif />
|
||
</div>
|
||
|
||
{{-- park_id --}}
|
||
<div class="form-group col-3">
|
||
<label>{{ __('駐輪場ID') }}</label>
|
||
</div>
|
||
<div class="form-group col-9">
|
||
<input type="number" name="park_id" class="form-control form-control-lg"
|
||
value="{{ old('park_id', $station->park_id ?? '') }}"
|
||
placeholder="{{ __('駐輪場ID') }}" @if($isInfo) readonly @endif />
|
||
</div>
|
||
|
||
{{-- operator_id --}}
|
||
<div class="form-group col-3">
|
||
<label>{{ __('オペレーターID') }}</label>
|
||
</div>
|
||
<div class="form-group col-9">
|
||
<input type="number" name="operator_id" class="form-control form-control-lg"
|
||
value="{{ old('operator_id', $station->operator_id ?? '') }}"
|
||
placeholder="{{ __('オペレーターID') }}" @if($isInfo) readonly @endif />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="text-right">
|
||
<button type="submit" class="btn btn-lg btn-danger register">{{ __('保存') }}</button>
|
||
</div>
|
||
</div>
|