<% layout('/layouts/single.html', {title: '上传头像', libs: 'iCheck,Validform,bootstrap-fileinput'}){ %>
上传头像
<#form:form id="avatarForm" modelAttribute="data" method="post" class="form-horizontal"> <#form:hidden path="id" />
<#form:fileinput basePath="/hellows/test" showType="avatar" fileInputWidth="100px" fileInputHeight="100px" path="portrait"/>
<% } %>