File tree 1 file changed +20
-16
lines changed
src/main/webapp/WEB-INF/views/series/import
1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -273,23 +273,27 @@ <h3 th:text="#{t_gathered_data}">
273
273
</ label >
274
274
</ th >
275
275
< 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 >
287
289
<!--/*/
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>
293
297
/*/-->
294
298
</ td >
295
299
</ tr >
You can’t perform that action at this time.
0 commit comments