teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

TABLE タグ追加

2018/05/14 14:38

投稿

hrsi_teratail
hrsi_teratail

スコア93

title CHANGED
File without changes
body CHANGED
@@ -4,4 +4,78 @@
4
4
  ![イメージ説明](6b30986605f52f5ecec0ee31c5631789.png)
5
5
 
6
6
  テキストボックスの横に選択コンボボックスを
7
- 揃えたいのですが、どのようにすれば揃いますか?
7
+ 揃えたいのですが、どのようにすれば揃いますか?
8
+
9
+ ```HTML
10
+ <tr>
11
+ <td data-toggle="tooltip" data-placement="left" title={{ '予約番号:'. $item->id }}>{{ $item->target_day }}
12
+ @if ($item->flgvalid_status == 2)
13
+ <br>
14
+ <p style="color: red;">(予約中)</p>
15
+ @endif
16
+
17
+ </td>
18
+ <td>{{ $child->getAgeToString($item->target_day) }}</td>
19
+
20
+ <td>
21
+ @foreach($vnames as $v)
22
+ {{ \App\Model\Vaccine::getVName($v)->name . '(' . ($item->getStreamsVaccine()[$loop->index]) . ')' }} @if(count($vnames) > 1) <br>@endif
23
+ @endforeach
24
+ </td>
25
+
26
+ <td>
27
+ @if (count($lots) != count($vnames))
28
+ @foreach($vnames as $v)
29
+ {!! Form::text('lots[]', null , ['id' => 'lot', 'class' => 'form-control', 'maxlength' => '20', 'placeholder' => '01234567890123456789']) !!}<br>
30
+ @endforeach
31
+ @else
32
+ @foreach($lots as $v)
33
+ @if ($v == 'null')
34
+ {{ $v = '' }}
35
+ @endif
36
+
37
+ {!! Form::text('lots[]', $v, ['id' => 'lot', 'class' => 'form-control', 'maxlength' => '20', 'placeholder' => '01234567890123456789']) !!}<br>
38
+ @endforeach
39
+ @endif
40
+
41
+ </td>
42
+ <td class="align-middle">
43
+
44
+ @if (count($points) != count($vnames))
45
+ @foreach($vnames as $v)
46
+ {!! Form::select('points[]',
47
+ [
48
+ null => '-- 選択 --',
49
+ '右腕' => '右腕',
50
+ '左腕' => '左腕',
51
+ '右足' => '右足',
52
+ '左足' => '左足',
53
+ ],
54
+ null,
55
+ ['id' => 'point']) !!}
56
+ @endforeach
57
+ @else
58
+ @foreach($points as $v)
59
+ @if ($v == 'null')
60
+ {{ $v = null }}
61
+ @endif
62
+ {!! Form::select('points[]',
63
+ [
64
+ null => '-- 選択 --',
65
+ '右腕' => '右腕',
66
+ '左腕' => '左腕',
67
+ '右足' => '右足',
68
+ '左足' => '左足',
69
+ ],
70
+ $v,
71
+ ['id' => 'point']) !!}<br>
72
+ @endforeach
73
+ @endif
74
+
75
+
76
+
77
+ </td>
78
+ <td>{{ $clinicname }}</td>
79
+
80
+
81
+ ```