remove csrf
This commit is contained in:
parent
53ddf60cfa
commit
5f4a789435
1 changed files with 2 additions and 10 deletions
|
@ -1,4 +1,5 @@
|
||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
|
import { Link } from 'react-router'
|
||||||
|
|
||||||
class Join extends Component {
|
class Join extends Component {
|
||||||
render = () => {
|
render = () => {
|
||||||
|
@ -6,41 +7,32 @@ class Join extends Component {
|
||||||
<div id="yield">
|
<div id="yield">
|
||||||
<form className="new_user centerGreyForm" id="new_user" action="/users" acceptCharset="UTF-8" method="post">
|
<form className="new_user centerGreyForm" id="new_user" action="/users" acceptCharset="UTF-8" method="post">
|
||||||
<input name="utf8" type="hidden" value="✓" />
|
<input name="utf8" type="hidden" value="✓" />
|
||||||
<input type="hidden" name="authenticity_token" value="2tn+UQ0ovmjyJOBObmSLGbN6vrRH+SOqT8s4GPtWIA2jN03P9LGdj55le6bRduSHgo8cM379hoOJ5COgRqx6fA==" />
|
|
||||||
|
|
||||||
<h3>Sign Up</h3>
|
<h3>Sign Up</h3>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="firstFieldText" htmlFor="user_name">Name:</label>
|
<label className="firstFieldText" htmlFor="user_name">Name:</label>
|
||||||
<input autoFocus="autofocus" type="text" name="user[name]" id="user_name" />
|
<input autoFocus="autofocus" type="text" name="user[name]" id="user_name" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="fieldText" htmlFor="user_email">Email:</label>
|
<label className="fieldText" htmlFor="user_email">Email:</label>
|
||||||
<input type="email" name="user[email]" id="user_email" />
|
<input type="email" name="user[email]" id="user_email" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="fieldText" htmlFor="user_password">Password:</label>
|
<label className="fieldText" htmlFor="user_password">Password:</label>
|
||||||
<input type="password" name="user[password]" id="user_password" />
|
<input type="password" name="user[password]" id="user_password" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="fieldText" htmlFor="user_password_confirmation">Password Confirmation:</label>
|
<label className="fieldText" htmlFor="user_password_confirmation">Password Confirmation:</label>
|
||||||
<input type="password" name="user[password_confirmation]" id="user_password_confirmation" />
|
<input type="password" name="user[password_confirmation]" id="user_password_confirmation" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label className="fieldText" htmlFor="user_Access Code:">Access code:</label>
|
<label className="fieldText" htmlFor="user_Access Code:">Access code:</label>
|
||||||
<input type="text" name="user[joinedwithcode]" id="user_joinedwithcode" />
|
<input type="text" name="user[joinedwithcode]" id="user_joinedwithcode" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<input type="submit" name="commit" value="Sign up!" data-disable-with="Sign up!" />
|
<input type="submit" name="commit" value="Sign up!" data-disable-with="Sign up!" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="smallText">
|
<div className="smallText">
|
||||||
<br />Don't have an access code?<br /><a href="/request">Request an Invite</a>
|
<br />Don't have an access code?<br /><Link to="/request">Request an Invite</Link>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue