This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree 1 file changed +19
-13
lines changed
1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
- import { Form , Message } from 'semantic-ui-react' ;
2
+ import { Form , Message , Grid } from 'semantic-ui-react' ;
3
3
import { baseEventsURL , subscribeURL } from '../utils/urls' ;
4
4
5
5
class Subscribe extends Component {
@@ -76,18 +76,24 @@ class Subscribe extends Component {
76
76
) : (
77
77
< Form onSubmit = { this . handleSubmit } error = { hasError } >
78
78
< Form . Group >
79
- < Form . Input
80
- placeholder = "Enter email address"
81
- name = "email"
82
- value = { this . state . subscribersEmail }
83
- onChange = { this . handleChange }
84
- disabled = { this . state . submittingEmail }
85
- />
86
- < Form . Button
87
- loading = { this . state . submittingEmail }
88
- color = "pink"
89
- content = "Subscribe"
90
- />
79
+ < Grid stackable columns = { 2 } >
80
+ < Grid . Column width = { 12 } >
81
+ < Form . Input
82
+ placeholder = "Enter email address"
83
+ name = "email"
84
+ value = { this . state . subscribersEmail }
85
+ onChange = { this . handleChange }
86
+ disabled = { this . state . submittingEmail }
87
+ />
88
+ </ Grid . Column >
89
+ < Grid . Column width = { 4 } >
90
+ < Form . Button
91
+ loading = { this . state . submittingEmail }
92
+ color = "pink"
93
+ content = "Subscribe"
94
+ />
95
+ </ Grid . Column >
96
+ </ Grid >
91
97
</ Form . Group >
92
98
< Message
93
99
error
You can’t perform that action at this time.
0 commit comments