Brenda Wallace and Claude Sonnet 5
92f3f0cc36
Convert Bootstrap 3 horizontal forms to Bootstrap 5
...
The label-beside-input forms (label col-md-2, input col-md-8) relied on
form-horizontal and form-group acting as a row. Each field wrapper is now a real
.row.mb-3, labels are col-form-label, help text is form-text, and the leftover
form-horizontal and form-actions classes, which do nothing in Bootstrap 5, are
dropped.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-20 18:03:36 +12:00
Brenda Wallace and Claude Sonnet 5
be5ed5fca5
Rename Bootstrap 4 utility classes to their Bootstrap 5 names
...
text-left/right -> text-start/end, float-left/right -> float-start/end,
ml-/mr-/pl-/pr- -> ms-/me-/ps-/pe-, border-left/right -> border-start/end,
dropdown-menu-left/right -> dropdown-menu-start/end, font-weight-* -> fw-*,
font-italic -> fst-italic and sr-only -> visually-hidden. Bootstrap 5 dropped
text-justify, so the site keeps a one-line rule for it.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-20 18:01:00 +12:00
Daniel O'Connor
925bb582d3
Update gardens to have a non 0 area ( #3885 )
...
* Update gardens to have a non 0 area
* Spec no longer possible through frontend
* Fix spec
2024-10-13 22:53:51 +10:30
Daniel O'Connor
a7a5b6ef17
Remove required text UI element
2024-10-13 11:56:56 +00:00
Daniel O'Connor
c063a33e8b
Garden show and edit: encourage descriptions, add more calls to action ( #3846 )
...
* Better edit links
* Prompt for more detail
* Better action links
* Better action links
* Update show.html.haml
* Apply suggestions from code review
* Apply suggestions from code review
2024-09-29 18:28:42 +09:30
Daniel O'Connor
a112d8e126
Don't restrict format
2023-03-13 07:49:48 +00:00
Daniel O'Connor
1b3485733d
Fix frontend validation
2023-03-13 07:47:42 +00:00
Martina Simicic
0f005a3c39
Make garden type optional when editing garden
2020-01-10 16:50:52 +13:00
Brenda Wallace
5cedea9da8
removing trailing whitespace
2019-06-14 16:23:31 +12:00
Brenda Wallace
51133359fb
tidy
2019-06-08 10:29:52 +12:00
Brenda Wallace
47fbfa815a
More room on gardens form
2019-06-08 09:31:53 +12:00
Brenda Wallace
5f705c47c5
garden form name is required
2019-06-08 09:24:29 +12:00
Brenda Wallace
ab4119c68d
make gardens for nicer on mobile
2019-06-03 23:19:15 +12:00
Brenda Wallace
20fbec96d4
Tidying up forms
2019-05-24 20:14:24 +12:00
Brenda Wallace
9ecf210ffb
More form tidy up
2019-04-27 19:19:42 +12:00
Brenda Wallace
eabf1fc659
Tidy up (most) forms
2019-04-27 19:11:30 +12:00
Brenda Wallace
5395aefa66
Rename containers to garden types
2019-03-26 20:56:11 +13:00
Brandon Baker
c898a958a5
adds container to garden form
2018-11-29 12:51:15 -07:00
Brenda Wallace
16145599ce
Haml clean up for (most) garden views
2017-02-06 14:46:19 +13:00
Mackenzie Morgan
13dc87f368
Optional field improvements
...
* Added custom matcher `have_optional(field id name goes here)`
* Fix partial
* Add tests
2016-05-27 11:26:36 -04:00
Mackenzie Morgan
079cecc529
Swap over to having "(Optional)" (or translation) after optional form elements rather than using placeholder text
...
Fixes #848
2016-05-26 16:53:46 -04:00
Daniel O'Connor
a9330f2d77
#857 Add length validations to UI
2016-04-03 00:15:45 +10:30
Anthony Atkinson
4786e3e087
Marking required and optional fields on Garden form.
2015-07-22 11:07:32 -04:00
Cjay Billones
bb88041fef
[Refactoring] Replace .count and .length with .size for collections
...
Improved program efficiency (in querying in particular) by replacing .count and .length with .size for collections.
Fix error in refactoring
Reverted some .size into .count
2015-06-25 12:09:03 +08:00
Skud
29d43f4e5b
Merge branch 'finished' of github.com:Skud/growstuff into Skud-finished2
2014-09-12 08:40:57 +10:00
Skud
03235f3952
Add warning about plantings being marked as finished
2014-09-12 07:43:41 +10:00
Skud
d991765edb
Fixed up label with link to field it relates to
2014-08-30 17:10:36 +10:00
Skud
501fda3fc9
b3ified a few of the lesser-used forms
2014-08-27 19:02:06 +10:00
Amy Hendrix
b7fbe60b83
Bootstrap3: form control groups
2014-07-13 18:45:56 -04:00
Skud
26bd744d31
Improve help wording for garden location
2013-10-31 09:18:38 +11:00
Skud
86aae6534b
Default garden location to the owner's location, if known
2013-10-25 23:25:23 +11:00
Skud
aee35aeeca
Added new fields to garden form
2013-10-25 22:32:40 +11:00
gnattery
d26b3d42ed
standardise button styles
2013-03-21 00:37:46 +11:00
Skud
4448468ee7
fixed problems with tab display on member profile
2013-01-20 21:46:53 +11:00
gnattery
d1e3f8ce32
Added description field to gardens
2013-01-18 15:11:11 +11:00
Miles Gould
8cd97deea2
Use Bootstrap formatting on "new garden" form.
2012-12-21 10:36:34 +00:00
Juliet
c5b606e9d6
Adding new garden; updating new garden page to ask only for garden name. Story
...
40983821 https://www.pivotaltracker.com/projects/646869#!/stories/40983821
Committing test for changes
2012-12-20 12:13:58 +00:00
Norman Ancajas
f89815b6b3
added gardens table
2012-11-05 11:45:56 +08:00