mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 06:57:12 +01:00
style error message better
This commit is contained in:
@@ -73,14 +73,12 @@ function WizardInternal() {
|
||||
<DateSelect />
|
||||
<Reason />
|
||||
<Contact />
|
||||
<div>
|
||||
<div className="flex items-end">
|
||||
<button type="submit" disabled={postData} className="btn btn-blue">
|
||||
{postData ? 'Speichern...' : 'Absenden'}
|
||||
</button>
|
||||
{postDataError && (
|
||||
<div className="error-message">
|
||||
<strong>Error:</strong> {postDataError}
|
||||
</div>
|
||||
<div className="error-message flex-grow">{postDataError}</div>
|
||||
)}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user