Commit c668fa1c authored by David Haynes's avatar David Haynes 🙆
Browse files

Add br's to the debug page

Closes #188
parent 16becd96
Pipeline #3593 passed with stage
in 1 minute and 16 seconds
...@@ -37,12 +37,15 @@ const DebugCreate = () => ( ...@@ -37,12 +37,15 @@ const DebugCreate = () => (
{"Destination: "} {"Destination: "}
<Field name="destination" placeholder="https://longwebsitelink.com" /> <Field name="destination" placeholder="https://longwebsitelink.com" />
<ErrorMessage name="destination" component="div" /> <ErrorMessage name="destination" component="div" />
<br />
{"Short: "} {"Short: "}
<Field name="short" /> <Field name="short" />
<ErrorMessage name="short" /> <ErrorMessage name="short" />
<br />
{"Expires: "} {"Expires: "}
<Field type="select" name="expires" placeholder="leave blank" /> <Field type="select" name="expires" placeholder="leave blank" />
<ErrorMessage name="expires" /> <ErrorMessage name="expires" />
<br />
<button type="submit" disabled={isSubmitting}> <button type="submit" disabled={isSubmitting}>
Submit Submit
</button> </button>
......
...@@ -31,6 +31,7 @@ const DebugDelete = () => ( ...@@ -31,6 +31,7 @@ const DebugDelete = () => (
{"Short: "} {"Short: "}
<Field name="short" /> <Field name="short" />
<ErrorMessage name="short" /> <ErrorMessage name="short" />
<br />
<button type="submit" disabled={isSubmitting}> <button type="submit" disabled={isSubmitting}>
Submit Submit
</button> </button>
......
...@@ -54,18 +54,22 @@ const DebugUpdate = () => ( ...@@ -54,18 +54,22 @@ const DebugUpdate = () => (
{"Old Short: "} {"Old Short: "}
<Field name="oldshort" /> <Field name="oldshort" />
<ErrorMessage name="oldshort" /> <ErrorMessage name="oldshort" />
<br />
{"New Destination: "} {"New Destination: "}
<Field name="destination" placeholder="https://longwebsitelink.com" /> <Field name="destination" placeholder="https://longwebsitelink.com" />
<ErrorMessage name="destination" component="div" /> <ErrorMessage name="destination" component="div" />
<br />
{"New Short: "} {"New Short: "}
<Field name="newshort" /> <Field name="newshort" />
<ErrorMessage name="newshort" /> <ErrorMessage name="newshort" />
<br />
{"New Expires: "} {"New Expires: "}
<Field type="select" name="expires" placeholder="leave blank" /> <Field type="select" name="expires" placeholder="leave blank" />
<ErrorMessage name="expires" /> <ErrorMessage name="expires" />
<br />
<button type="submit" disabled={isSubmitting}> <button type="submit" disabled={isSubmitting}>
Submit Submit
</button> </button>
......
...@@ -7,7 +7,6 @@ const AboutPage = () => { ...@@ -7,7 +7,6 @@ const AboutPage = () => {
document.title = "About"; document.title = "About";
return ( return (
<PageTemplate> <PageTemplate>
<h1>About page</h1>
<Card className="shadow-lg p-3 mb-5 bg-white rounded"> <Card className="shadow-lg p-3 mb-5 bg-white rounded">
<CardBody> <CardBody>
<CardTitle>Terms of Use</CardTitle> <CardTitle>Terms of Use</CardTitle>
......
...@@ -17,8 +17,6 @@ class DebugCRUD extends React.Component { ...@@ -17,8 +17,6 @@ class DebugCRUD extends React.Component {
return ( return (
<PageTemplate> <PageTemplate>
<div> <div>
<h1>Debug CRUD Page</h1>
<h3>Create</h3> <h3>Create</h3>
<DebugCreate /> <DebugCreate />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment