app/react/Markdown/components/specs/__snapshots__/ContactForm.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ContactForm should render the ContactForm 1`] = `
<LocalForm
className="contact-form"
getDispatch={[Function]}
initialState={Object {}}
model="contactform"
onSubmit={[Function]}
validators={
Object {
"captcha": Object {
"required": [Function],
},
"email": Object {
"required": [Function],
},
"message": Object {
"required": [Function],
},
"name": Object {
"required": [Function],
},
}
}
>
<FormGroup
model=".name"
>
<label
className="form-group-label"
htmlFor="name"
>
<Connect(Translate)>
Name
</Connect(Translate)>
<span
className="required"
>
*
</span>
</label>
<Modeled(Connect(Field))
model=".name"
>
<input
className="form-control"
name="name"
type="text"
/>
</Modeled(Connect(Field))>
</FormGroup>
<FormGroup
model=".email"
>
<label
className="form-group-label"
htmlFor="email"
>
<Connect(Translate)>
Email
</Connect(Translate)>
<span
className="required"
>
*
</span>
</label>
<Modeled(Connect(Field))
model=".email"
>
<input
className="form-control"
name="email"
type="email"
/>
</Modeled(Connect(Field))>
</FormGroup>
<FormGroup
model=".message"
>
<label
className="form-group-label"
htmlFor="message"
>
<Connect(Translate)>
Message
</Connect(Translate)>
<span
className="required"
>
*
</span>
</label>
<Modeled(Connect(Field))
model=".message"
>
<textarea
className="form-control"
name="message"
/>
</Modeled(Connect(Field))>
</FormGroup>
<Memo(CaptchaComponent)
refresh={[Function]}
/>
<button
className="btn btn-success"
type="submit"
>
<Connect(Icon)
icon="paper-plane"
/>
<span
className="btn-label"
>
<Connect(Translate)>
Send
</Connect(Translate)>
</span>
</button>
</LocalForm>
`;