diff --git a/application/ui.passwordwidget.class.inc.php b/application/ui.passwordwidget.class.inc.php
index 0950dd08a..20023ae69 100644
--- a/application/ui.passwordwidget.class.inc.php
+++ b/application/ui.passwordwidget.class.inc.php
@@ -58,9 +58,15 @@ class UIPasswordWidget
$sConfirmPasswordValue = $aPasswordValues ? $aPasswordValues['confirm'] : '*****';
$sChangedValue = (($sPasswordValue != '*****') || ($sConfirmPasswordValue != '*****')) ? 1 : 0;
$sHtmlValue = '';
- $sHtmlValue = '
';
- $sHtmlValue .= ' '.Dict::S('UI:PasswordConfirm').' ';
+ $sHtmlValue .= '
';
+ $sHtmlValue .= '';
+ $sHtmlValue .= '';
+ $sHtmlValue .= ''.Dict::S('UI:PasswordConfirm').'';
+ $sHtmlValue .= '';
$sHtmlValue .= '';
+ $sHtmlValue .= '
';
+
+ $sHtmlValue .= '';
$oPage->add_ready_script("$('#$this->iId').bind('keyup change', function(evt) { return PasswordFieldChanged('$this->iId') } );"); // Bind to a custom event: validate
$oPage->add_ready_script("$('#$this->iId').bind('keyup change validate', function(evt, sFormId) { return ValidatePasswordField('$this->iId', sFormId) } );"); // Bind to a custom event: validate
diff --git a/css/light-grey.css b/css/light-grey.css
index 601c465bb..6b6c0193d 100644
--- a/css/light-grey.css
+++ b/css/light-grey.css
@@ -1217,6 +1217,17 @@ span.form_validation {
.details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_string > select, .details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_password > select, .details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_string input, .details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_password input {
width: 100%;
}
+.details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_onewaypassword {
+ display: table-cell;
+ width: auto;
+}
+.details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_onewaypassword > * {
+ display: block;
+ width: 100%;
+}
+.details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_onewaypassword > span {
+ margin-bottom: 3px;
+}
.details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_date, .details > .field_container > div > div.field_value .attribute-edit .field_input_zone.field_input_datetime {
display: table;
width: 100%;
diff --git a/css/light-grey.scss b/css/light-grey.scss
index 294a318dc..8e3e394d5 100644
--- a/css/light-grey.scss
+++ b/css/light-grey.scss
@@ -1327,7 +1327,17 @@ span.form_validation {
}
&.field_input_onewaypassword{
- // Not implemented yet
+ display: table-cell;
+ width: auto;
+
+ > *{
+ display: block;
+ width: 100%;
+ }
+
+ > span{
+ margin-bottom: 3px;
+ }
}
&.field_input_date,