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

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 = () => (
{"Destination: "}
<Field name="destination" placeholder="https://longwebsitelink.com" />
<ErrorMessage name="destination" component="div" />
<br />
{"Short: "}
<Field name="short" />
<ErrorMessage name="short" />
<br />
{"Expires: "}
<Field type="select" name="expires" placeholder="leave blank" />
<ErrorMessage name="expires" />
<br />
<button type="submit" disabled={isSubmitting}>
Submit
</button>
......
......@@ -31,6 +31,7 @@ const DebugDelete = () => (
{"Short: "}
<Field name="short" />
<ErrorMessage name="short" />
<br />
<button type="submit" disabled={isSubmitting}>
Submit
</button>
......
......@@ -54,18 +54,22 @@ const DebugUpdate = () => (
{"Old Short: "}
<Field name="oldshort" />
<ErrorMessage name="oldshort" />
<br />
{"New Destination: "}
<Field name="destination" placeholder="https://longwebsitelink.com" />
<ErrorMessage name="destination" component="div" />
<br />
{"New Short: "}
<Field name="newshort" />
<ErrorMessage name="newshort" />
<br />
{"New Expires: "}
<Field type="select" name="expires" placeholder="leave blank" />
<ErrorMessage name="expires" />
<br />
<button type="submit" disabled={isSubmitting}>
Submit
</button>
......
......@@ -7,7 +7,6 @@ const AboutPage = () => {
document.title = "About";
return (
<PageTemplate>
<h1>About page</h1>
<Card className="shadow-lg p-3 mb-5 bg-white rounded">
<CardBody>
<CardTitle>Terms of Use</CardTitle>
......
......@@ -17,8 +17,6 @@ class DebugCRUD extends React.Component {
return (
<PageTemplate>
<div>
<h1>Debug CRUD Page</h1>
<h3>Create</h3>
<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