echo $form->input('username', array(
'label' => __('UserId', true),
'maxlength' => $idLength['max'],
- 'after' => sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
+ 'after' => $html->tag(
+ 'div',
+ sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
+ array('class' => 'attention')
+ )
)
);
echo $form->input('password1', array(
+ 'type' => 'password',
'label' => __('Password', true),
'maxlength' => $passwordLength['max'],
- 'after' => sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']),
- 'type' => 'password',
+ 'after' => $html->tag(
+ 'div',
+ sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']),
+ array('class' => 'attention')
+ )
)
);
echo $form->input('password2', array(
+ 'type' => 'password',
'label' => __('Password [confirm]', true),
'maxlength' => $passwordLength['max'],
- 'type' => 'password',
)
);
?>
echo $form->input('username', array(
'label' => __('UserId', true),
'maxlength' => $idLength['max'],
- 'after' => sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
+ 'after' => $html->tag(
+ 'div',
+ sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
+ array('class' => 'attention')
+ )
)
);
echo $form->input('group_id', array(
)
);
echo $form->input('password1', array(
+ 'type' => 'password',
'label' => __('Password', true),
'maxlength' => $passwordLength['max'],
- 'after' => sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']),
- 'type' => 'password',
+ 'after' => $html->tag(
+ 'div',
+ sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']),
+ array('class' => 'attention')
+ )
)
);
echo $form->input('password2', array(
+ 'type' => 'password',
'label' => __('Password [confirm]', true),
'maxlength' => $passwordLength['max'],
- 'type' => 'password',
)
);
echo $token->create();
<legend><?php __('Change Password');?></legend>
<?php
echo $form->input('password1', array(
+ 'type' => 'password',
'label' => __('New Password', true),
'maxlength' => $passwordLength['max'],
- 'after' => sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']),
- 'type' => 'password',
+ 'after' => $html->tag(
+ 'div',
+ sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
+ array('class' => 'attention')
+ )
)
);
echo $form->input('password2', array(
+ 'type' => 'password',
'label' => __('New Password [confirm]', true),
'maxlength' => $passwordLength['max'],
- 'type' => 'password',
)
);
echo $token->create();
<legend><?php __('Change Password');?></legend>
<?php
echo $form->input('password', array(
+ 'type' => 'password',
'label' => __('Old Password', true),
'maxlength' => $passwordLength['max'],
- 'type' => 'password',
)
);
echo $form->input('password1', array(
+ 'type' => 'password',
'label' => __('New Password', true),
'maxlength' => $passwordLength['max'],
- 'after' => sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']),
- 'type' => 'password',
+ 'after' => $html->tag(
+ 'div',
+ sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']),
+ array('class' => 'attention')
+ )
)
);
echo $form->input('password2', array(
+ 'type' => 'password',
'label' => __('New Password [confirm]', true),
'maxlength' => $passwordLength['max'],
- 'type' => 'password',
)
);
echo $token->create();
}
dd {
margin-left: 10em;
- margin-top: -2em;
+ margin-top: -1.8em;
vertical-align: top;
+ line-height: 1.4em;
}
/* Forms */
margin-top: 10px;
margin-left: 140px;
}
+form div.attention {
+ font-weight: bold;
+ margin-bottom: 0;
+ padding: 0.5em 0.5em 0;
+}
+
label {
display: block;
font-size: 110%;