Created
March 7, 2017 00:03
-
-
Save coliveravenegas/0f2fcef47ffde07388d2aeddd17b8f71 to your computer and use it in GitHub Desktop.
This file contains 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
import React, { | |
Component, | |
PropTypes, | |
} from 'react'; | |
import DjangoCSRFToken from './DjangoCSRFToken'; | |
class MyForm extends Component { | |
render() { | |
return ( | |
<form action="/registro/" method="post" className="FooterRegisterForm__form" > | |
<DjangoCSRFToken /> | |
<input type="hidden" value="/" name="next"/> | |
<input type="text" className="FooterRegisterForm__formInput" name="username" placeholder="Nombre de usuario"/> | |
<input type="email" className="FooterRegisterForm__formInput" name="email" placeholder="Correo electrónico"/> | |
<input type="password" className="FooterRegisterForm__formInput" name="password" placeholder="Contraseña"/> | |
<p className="FooterRegisterForm__terms"> | |
Al registrarte, estás aceptando nuestros a | |
<a href="#"className="FooterRegisterForm__termsLink"> Términos y Condiciones</a> | |
</p> | |
<button type="submit" className="FooterRegisterForm__registerButton">Comienza un curso gratis</button> | |
</form> | |
); | |
} | |
} | |
export default MyForm; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment