Skip to content

Commit 3a71085

Browse files
committed
/series/import/{id}: make "year" field more compact.
No functional changes.
1 parent 5e3fd61 commit 3a71085

File tree

1 file changed

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

1 file changed

+20
-16
lines changed

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

+20-16
Original file line numberDiff line numberDiff line change
@@ -273,23 +273,27 @@ <h3 th:text="#{t_gathered_data}">
273273
</label>
274274
</th>
275275
<td>
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>
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>
287289
<!--/*/
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>
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>
293297
/*/-->
294298
</td>
295299
</tr>

0 commit comments

Comments
 (0)