Ruby on Rails Wednesday, August 1, 2018

She may be editing...

Ok, Taking the suggestions from above I think I have the form figured out but where I am having an issue is with the radio buttons...   

How do I define a set of radio buttons unique to each student with a set of options from an AttendanceStatus table?   I would also like to show them as actual buttons with bootstrap if possible...

John

On Wednesday, August 1, 2018 at 11:07:41 AM UTC-4, Hassan Schroeder wrote:
On Wed, Aug 1, 2018 at 7:16 AM, John Sanderbeck <band...@gmail.com> wrote:
> It will typically be a single class however the main secretary may go in to
> check attendance and she will see the entire school.

Is the "main secretary" *viewing* or *editing* the data?

If it's only viewing you can consider that a completely different use
case to provide for (and it might be presenting a list, a chart/graph,
a search-by-name, etc.).

Also, consider what should happen when the teacher has recorded
attendance and an "absent" student walks in late :-)

That said, you're describing a pretty basic form/CRUD pattern, so it
shouldn't be too difficult to implement.

Have fun!

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9cfc89fa-1457-4209-b2ed-88f4e68c704a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment