Commit 03be20bd by Orine Matsui

動的箇所を最新

parent 804d17e5
......@@ -6,6 +6,13 @@
@method('PUT')
<div class="form-row">
<div class="form-group col-sm-2">セミナー名</div>
<div class="form-group col-sm-10">
{{ $seminar->seminar_name }}
</div>
</div>
<div class="form-row">
<div class="form-group" style="color: red">
@if ($errors->has('image'))
{{$errors->first('image')}}
......
......@@ -6,12 +6,57 @@
@method('PUT')
<div class="form-row">
<div class="form-group col-sm-2">セミナーID</div>
<div class="form-group col-sm-10">
{{ $schedule->res_seminar_id }}
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-2">セミナー区分ID</div>
<div class="form-group col-sm-10">
{{ $schedule->res_seminar_division_id }}
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-2">セミナー名</div>
<div class="form-group col-sm-10">
{{ $schedule->res_seminar_name }}
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-2">開催日</div>
<div class="form-group col-sm-10">
{{ substr($schedule->res_seminar_date, 0, 4) }}年{{ $schedule->dulation_date_and_week }}
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-2">開催地</div>
<div class="form-group col-sm-10">
{{ $schedule->res_seminar_pref }}
</div>
</div>
<div class="form-row">
<div class="form-group col-sm-2">ステータス</div>
<div class="form-group col-sm-10">
@foreach (App\Schedule::$status as $key => $name)
<div class="form-check">
<input class="form-check-input" type="radio" id="status_id_{{ $key }}" name="status" value={{ $key }} @if($schedule->status == $key) checked="checked" @endif>
<label class="form-check-label" for="status_id_{{ $key }}">{{ $name }} </label>
<?php $disabled = '' ?>
<?php $disabledStyle = '' ?>
@if ($key == config('parameters.seminar_status.value.attend_full') || $key == config('parameters.seminar_status.value.retake_full'))
<?php $disabled = 'disabled="disabled"' ?>
<?php $disabledStyle = 'style="color: #ccc;"' ?>
@if ($schedule->apply_url_2)
<?php $disabled = '' ?>
<?php $disabledStyle = '' ?>
@endif
@endif
<input class="form-check-input" type="radio" id="status_id_{{ $key }}" name="status" value={{ $key }} @if($schedule->status == $key) checked="checked" @endif {{ $disabled }}>
<label class="form-check-label" for="status_id_{{ $key }}" {!! $disabledStyle !!}>{{ $name }} </label>
</div>
@endforeach
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment