반응형
<div class="form-inline form-group start-start">
<label class="col-sm-12 control-label">관리자승인여부:</label>
<div class="col-sm-6 btn-group btn-group-toggle" data-toggle="buttons" th:if="${product.adminApprovalYn.equals(true)}">
<label class="btn btn-outline-primary center-center radio-pretty-btn">
<input checked="checked" class="form-control" name="adminApprovalYn" type="radio" value="True">승인</label>
<label class="btn btn-outline-primary center-center radio-pretty-btn">
<input class="form-control" name="adminApprovalYn" type="radio" value="False">미승인</label>
</div>
/* flex 관련 설정 start */
.start-start {
display: flex;
align-items: flex-start;
justify-content: flex-start;
}
.center-center {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
/* flex 관련 설정 end */
반응형
'구버전 팁' 카테고리의 다른 글
면접전 가져야할 질문 (0) | 2020.12.02 |
---|---|
sweety alert multiple input, multi validation , ajax (0) | 2020.11.25 |
DataTables 사용법 (0) | 2020.11.25 |
맥북 친해지기 (0) | 2020.11.22 |
js 안되는 좌우 스크롤 억지로 먹여봅시다. (0) | 2020.11.17 |