[katello-devel] Katello UI - view helper for adding tabindex
Brad Buckingham
bbuckingham at redhat.com
Tue Aug 23 18:33:56 UTC 2011
Added a very simple helper called 'auto_tab_index' to the
application_helper.rb to facilitate adding an HTML tabindex attribute to
pages in Katello. This helper should work for most of our views that
have a sequential flow. So, rather than manually assign a number for
tabindex, call the view helper auto_tab_index and let it assign a value
for you. The benefit of this approach is that we can easily add new
fields to a form without accidentally affecting the tabbing behavior, if
we were to forget to update the index :).
Additional details:
- Refer to Tab Index from :
https://fedorahosted.org/katello/wiki/DevResources
(https://fedorahosted.org/katello/wiki/ViewTabIndex)
- Git commit:
http://git.fedorahosted.org/git/?p=katello.git;a=commitdiff;h=3ddf95e3d6ecfd7287a8f35890f090495ad25545;hp=a25101cc7c6bb61e7f68b310a22cd7c4613337f8
thanks,
Brad
More information about the katello-devel
mailing list