I’d like the view to be smart and say something like “There are 3 plans available” or “There is 1 plan available” based on the number of plans.
Icky:
1
| |
Better:
1
| |
Here’s the little helper method:
1 2 3 4 | |
And the test:
1 2 3 4 5 6 7 | |
Helpful?
I’d like the view to be smart and say something like “There are 3 plans available” or “There is 1 plan available” based on the number of plans.
Icky:
1
| |
Better:
1
| |
Here’s the little helper method:
1 2 3 4 | |
And the test:
1 2 3 4 5 6 7 | |
Helpful?