fix user page

This commit is contained in:
Anton Romanov 2020-02-22 17:21:48 +04:00
parent 5333258c62
commit abde7f311c

View File

@ -34,7 +34,7 @@
<p:panelGrid cellpadding="5" id="userPanel"> <p:panelGrid cellpadding="5" id="userPanel">
<p:row> <p:row>
<p:column> <p:column>
<h:outputLabel value="Имя:"/> <h:outputLabel value="Имя"/>
</p:column> </p:column>
<p:column> <p:column>
<p:inputText id="firstName" required="true" value="#{userView.user.firstName}"/> <p:inputText id="firstName" required="true" value="#{userView.user.firstName}"/>
@ -43,7 +43,7 @@
</p:row> </p:row>
<p:row> <p:row>
<p:column> <p:column>
<h:outputLabel value="Фамилия:"/> <h:outputLabel value="Фамилия"/>
</p:column> </p:column>
<p:column> <p:column>
<p:inputText id="lastName" required="true" value="#{userView.user.lastName}"/> <p:inputText id="lastName" required="true" value="#{userView.user.lastName}"/>
@ -52,7 +52,7 @@
</p:row> </p:row>
<p:row> <p:row>
<p:column> <p:column>
<h:outputLabel value="Отчество:"/> <h:outputLabel value="Отчество"/>
</p:column> </p:column>
<p:column> <p:column>
<p:inputText id="patr" value="#{userView.user.patronymic}"/> <p:inputText id="patr" value="#{userView.user.patronymic}"/>
@ -61,7 +61,7 @@
</p:row> </p:row>
<p:row> <p:row>
<p:column> <p:column>
<h:outputLabel value="Email:"/> <h:outputLabel value="Email"/>
</p:column> </p:column>
<p:column> <p:column>
<p:outputLabel value="#{userView.user.email}"/> <p:outputLabel value="#{userView.user.email}"/>
@ -69,7 +69,15 @@
</p:row> </p:row>
<p:row> <p:row>
<p:column> <p:column>
<h:outputLabel value="Дата рождения:"/> <h:outputLabel value="Логин"/>
</p:column>
<p:column>
<p:outputLabel value="#{userView.user.login}"/>
</p:column>
</p:row>
<p:row>
<p:column>
<h:outputLabel value="Дата рождения"/>
</p:column> </p:column>
<p:column> <p:column>
<p:calendar id="bDate" required="true" value="#{userView.user.birthDate}"/> <p:calendar id="bDate" required="true" value="#{userView.user.birthDate}"/>
@ -78,7 +86,7 @@
</p:row> </p:row>
<p:row> <p:row>
<p:column> <p:column>
<h:outputLabel value="Ученая степень:"/> <h:outputLabel value="Ученая степень"/>
</p:column> </p:column>
<p:column> <p:column>
<p:selectOneMenu id="degree" value="#{userView.user.degree}" <p:selectOneMenu id="degree" value="#{userView.user.degree}"