Skip to content

Commit 17464fc

Browse files
committed
Revert "/series/import/{id}: make "year" field more compact."
This reverts commit 3a71085. Revert because this change leads to error from bootlint: E014 Columns (`.col-*-*`) can only be children of `.row`s or `.form-group`s
1 parent 00b6b07 commit 17464fc

File tree

1 file changed

+16
-20
lines changed
  • src/main/webapp/WEB-INF/views/series/import

1 file changed

+16
-20
lines changed

src/main/webapp/WEB-INF/views/series/import/info.html

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -273,27 +273,23 @@ <h3 th:text="#{t_gathered_data}">
273273
</label>
274274
</th>
275275
<td>
276-
<div class="col-xs-4 no-padding">
277-
<select class="form-control" th:field="*{year}" id="year" th:disabled="${disabled}">
278-
<option value="" th:text="#{t_year}">Year</option>
279-
<!--/*/
280-
<option th:each="year : ${years}" th:value="${year.key}" th:text="${year.value}"></option>
281-
/*/-->
282-
<!--/*-->
283-
<option value="1960" selected="selected">1960</option>
284-
<option value="2000">2000</option>
285-
<option value="2010">2010</option>
286-
<!--*/-->
287-
</select>
288-
</div>
276+
<select class="form-control" th:field="*{year}" id="year" th:disabled="${disabled}">
277+
<option value="" th:text="#{t_year}">Year</option>
278+
<!--/*/
279+
<option th:each="year : ${years}" th:value="${year.key}" th:text="${year.value}"></option>
280+
/*/-->
281+
<!--/*-->
282+
<option value="1960" selected="selected">1960</option>
283+
<option value="2000">2000</option>
284+
<option value="2010">2010</option>
285+
<!--*/-->
286+
</select>
289287
<!--/*/
290-
<div class="col-xs-12 no-padding">
291-
<span id="year.errors"
292-
class="help-block"
293-
th:if="${#fields.hasErrors('year')}"
294-
th:each="error : ${#fields.errors('year')}"
295-
th:text="${error}">Invalid year</span>
296-
</div>
288+
<span id="year.errors"
289+
class="help-block"
290+
th:if="${#fields.hasErrors('year')}"
291+
th:each="error : ${#fields.errors('year')}"
292+
th:text="${error}"></span>
297293
/*/-->
298294
</td>
299295
</tr>

0 commit comments

Comments
 (0)