Created
January 20, 2014 18:49
-
-
Save arbaaz/8526547 to your computer and use it in GitHub Desktop.
Create_Account_CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Create an account</h1> | |
<fieldset> | |
<legend>Personal Information</legend> | |
<?php | |
echo form_open('login/create_member'); | |
echo form_input('first_name', set_value('first_name',''),"placeholder='First Name'"); | |
echo form_input('last_name', set_value('last_name', ''),"placeholder='Last Name'"); | |
echo form_input('email_address', set_value('email_address', ''),"placeholder='Email Address'"); | |
?> | |
</fieldset> | |
<fieldset> | |
<legend>Login Info</legend> | |
<?php | |
echo form_input('username', set_value('username', ''),"placeholder='User Name'"); | |
echo form_password('password', set_value('password', ''),"placeholder='Password'"); | |
echo form_password('password2', set_value('password2', ''),"placeholder='Repeat Password'"); | |
echo form_submit('submit', 'Create Account'); | |
echo validation_errors('<p class="error">') | |
?> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment