回答編集履歴
1
HTMLの追記
test
CHANGED
@@ -60,6 +60,90 @@
|
|
60
60
|
|
61
61
|
|
62
62
|
|
63
|
+
以下、HTML
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<div id="Contribution" class="pr-3 pl-3 rounded">
|
68
|
+
|
69
|
+
<h2 class="text-center mt-2 p-2">コミュニティを作成する</h2>
|
70
|
+
|
71
|
+
<form action="" method="POST" enctype="multipart/form-data">
|
72
|
+
|
73
|
+
<div class="form-group">
|
74
|
+
|
75
|
+
<label for="comtitle">コミュニティ名</label>
|
76
|
+
|
77
|
+
<input type="name" class="form-control" name="comtitle" placeholder="コミュニティ名" required>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<div class="form-group thumbnail">
|
82
|
+
|
83
|
+
<label for="thumimg">サムネイル画像</label><br>
|
84
|
+
|
85
|
+
<input type="file" class="mb-2"name="thumimg" required>
|
86
|
+
|
87
|
+
<div class="preview"></div>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div class="form-group">
|
92
|
+
|
93
|
+
<label for="comrest">コミュニティ人数</label>
|
94
|
+
|
95
|
+
<input type="number" class="form-control" step="1" min="0" max="20" name="numrest" placeholder="人数を入力" required>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
|
99
|
+
<div class="form-group">
|
100
|
+
|
101
|
+
<label for="location">撮影地(詳しく)</label>
|
102
|
+
|
103
|
+
<input type="name" class="form-control" name="location" placeholder="主な撮影地を入力" required>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div class="form-group">
|
108
|
+
|
109
|
+
<label for="use_camera">主な使用カメラ</label>
|
110
|
+
|
111
|
+
<select class="form-control" name="use_camera" required>
|
112
|
+
|
113
|
+
<option value="0">デジタル一眼レフ</option>
|
114
|
+
|
115
|
+
<option value="1">スマートフォン</option>
|
116
|
+
|
117
|
+
<option value="2">ミラーレス一眼カメラ</option>
|
118
|
+
|
119
|
+
<option value="3">コンパクトデジタルカメラ</option>
|
120
|
+
|
121
|
+
<option value="4">ドローン</option>
|
122
|
+
|
123
|
+
<option value="5">ビデオカメラ</option>
|
124
|
+
|
125
|
+
</select>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div class="form-group">
|
130
|
+
|
131
|
+
<label for="comment">作成者コメント</label>
|
132
|
+
|
133
|
+
<textarea class="form-control" rows="3" name="comment" required></textarea>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<button type="submit" class="btn-primary mb-5 p-2 h5 rounded mt-3 w-100" id="signUp">作成</button>
|
138
|
+
|
139
|
+
</form>
|
140
|
+
|
141
|
+
</div>
|
142
|
+
|
143
|
+
</div>
|
144
|
+
|
145
|
+
|
146
|
+
|
63
147
|
コード
|
64
148
|
|
65
149
|
```
|