> > ... because the tab variable provides me with the tab that should be > loaded the first time the page displays. However, in the case your trying > to help me solve, I don't know which one is the tab that should be loaded > the first time the page displays, all I know is that it's the first tab. > What I am looking for is something to do the following: > > tab='tab-' + the minimum value of i
I believe that's what my code does. This line: {{show_tab = this_tab if not show_tab else show_tab}} sets the value of show_tab to the first tab (if any) that gets written to the view. Is that not what you want? Anthony