or you can put a drop-down list with the attendance options in the list.

On Wed, Aug 1, 2018 at 10:24 AM, Joe Guerra <jgue...@jginfosys.com> wrote:

> Doesn't seem like a very hard app to put together.
>
> Why not just load all the students at once (if they are about 50 of them)
> (or you can say paginate them at 20 records).
>
> I would use radio buttons, instead of check boxes.
>
> On Wed, Aug 1, 2018 at 10:18 AM, John Sanderbeck <bandor...@gmail.com>
> wrote:
>
>> And if not, could I have a filter?  We use Filterrific in most of the
>> application...
>>
>> John
>>
>> On Wednesday, August 1, 2018 at 10:16:19 AM UTC-4, John Sanderbeck 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. This won't hurt me
>>> as we only have 125 kids, but a larger school could have an issue...
>>>  Would Pagination still work in this scenario?
>>>
>>> John
>>>
>>> On Wednesday, August 1, 2018 at 5:55:41 AM UTC-4, Ralph Shnelvar wrote:
>>>>
>>>> John,
>>>>
>>>> This is an add-on to David Merrick's answer.
>>>>
>>>> Since this is for a school class, it's unlikely to have more than, say,
>>>> 50 students.
>>>>
>>>> Your database query could bring in up to 50 students and then you could
>>>> build a view with something like the following pseudo-code
>>>>  <% students.each do |student| %>
>>>>      /* build a line or lines identifying the student and radio buttons
>>>> indicating attendance */
>>>>  <% end %>
>>>>  /* submit button */
>>>>
>>>> Of course, if you have more than 50 (or whatever) students, the logic
>>>> becomes a bit more complicated - but not by much.
>>>>
>>>> I think this would be preferred over a one-student-per-screen approach.
>>>>
>>>> Ralph
>>>>
>>>>
>>>>
>>>> Tuesday, July 31, 2018, 3:34:23 PM, you wrote:
>>>>
>>>>
>>>> What I am trying to do is in my application is add Student Attendance
>>>> for the day.
>>>>
>>>> What I would like to have is a form that a teacher goes to every
>>>> morning on their computer or iPad with the list of his/her students and
>>>> he/she just has a list of option buttons beside each student with the
>>>> student's attendance for that day. They just tap the option that is correct
>>>> by each student...
>>>>
>>>> The options will typically be Present, Absent, Half-Day District,
>>>> Half-Day CTC, Full-Day District...
>>>>
>>>> Has anyone done something like this I can look at the code or do you
>>>> have suggestions on how I can do this...
>>>>
>>>> I've been googling and watching videos and nothing does what I am
>>>> looking for...
>>>>
>>>> John Sanderbeck
>>>> --
>>>> 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-ta...@googlegroups.com.
>>>> To post to this group, send email to rubyonra...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/rubyonrails-talk/ef7e07f6-dd10-4123-9b75-e0e522a3c26b%40
>>>> googlegroups.com
>>>> <https://groups.google.com/d/msgid/rubyonrails-talk/ef7e07f6-dd10-4123-9b75-e0e522a3c26b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>>
>>>> Ralph
>>>>
>>> --
>> 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+unsubscr...@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/ms
>> gid/rubyonrails-talk/5e0a9dbf-4a56-45c1-8edf-d82c969c6330%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/rubyonrails-talk/5e0a9dbf-4a56-45c1-8edf-d82c969c6330%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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+unsubscr...@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/CAOFgAMm-_3rUuneF8rkAqn%2BgOGtCD2V0K3NOwYpy9Kkumy-84w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to