<form name="login_form2"  id="login_form2" action="{$site_url}users/login/" method="POST">
<div>{$error}</div>
<div class="form-row">
	<div class="field-label"><label for="name">الإسم</label>:</div>
	<div class="field-widget">
		<input name="name" id="name" size="11" value="" class="required" type="" /> (مطلوب)
<div id="advice-required-name" style="display:none" class="custom-advice">هذا الحقل مطلوب !</div>
	</div>
</div>
<div class="form-row">
	<div class="field-label"><label for="password">كلمة المرور</label>:</div>
	<div class="field-widget">
		<input name="password" id="password" size="11" value="" class="required" type="password" /> (مطلوب)
<div id="advice-required-password" style="display:none" class="custom-advice">هذا الحقل مطلوب !</div>
	</div>
</div>


<input name="submit" value="دخول" type="submit" />
</form>
<script type="text/javascript">
			var valid = new Validation('login_form2',{literal}{immediate : true}{/literal});
		</script>