Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding user forms #252

Merged
merged 6 commits into from
Jun 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/layouts/components/EventForm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React from 'react'

const EventForm = () => {
return (
<div>
<form>
Title:
<input type="text" />
Image:
<input type="file" />
Date
<input type="date" />
City
<input type="text" />
Country:
<input type="text" />
Description:
<textarea name="textarea" rows="10" cols="50">
Write your description here
</textarea>
<input type="submit" />
</form>
</div>
)
}

export default EventForm
21 changes: 21 additions & 0 deletions src/layouts/components/ProjectForm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react'

const ProjectForm = () => {
return (
<div>
<form>
Title:
<input type="text" />
Image:
<input type="file" />
Description
<textarea name="textarea" rows="10" cols="50">
Write your description here
</textarea>
<input type="submit" />
</form>
</div>
)
}

export default ProjectForm
21 changes: 21 additions & 0 deletions src/layouts/components/StoryForm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react'

const StoryForm = () => {
return (
<div>
<form>
Title:
<input type="text" />
Image:
<input type="file" />
Description
<textarea name="textarea" rows="10" cols="50">
Write your description here
</textarea>
<input type="submit" />
</form>
</div>
)
}

export default StoryForm
19 changes: 19 additions & 0 deletions src/layouts/components/UserForm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react'

const UserForm = () => {
return (
<div>
<form>
Username:
<input type="text" />
Email:
<input type="email" />
Password
<input type="password" />
<input type="submit" />
</form>
</div>
)
}

export default UserForm