Conversation
|
@fraenki you can use tabs to split content, I'm not fully sure about the headers in this case. If you don't use the tabs and want to divide the content within the same screen, a separate partial which renders the same structure in to different blocks might be better. (better spacing on the page) |
|
@AdSchellevis Thanks for your response. :) I've decided to add this new type, because it's also the font size (and possibly font style) that matters in this case. To me this seemed like an easy way to achieve the goal without major drawbacks. Am I missing something?
I'm already using tabs for general application settings. But this form is used to create/edit new frontends for a Load Balancer – there can be many frontends. I don't see how I could use tabs in this case...
Is there an example in the code somewhere that demonstrates this? |
|
@fraenki I just don't like the broken striping very much, the idea is good. Do you mind if I move your idea into "base_form" so we can fix the tables a bit better? |
|
I kind of agree with Ad here, two things are important:
As far as 2. goes I always felt that the stacked tabs aren't very intuitive and they could very well be rendered together on one page, which is what Frank is looking for. Maybe we could use a form render switch for this in the xml? |
|
Note that "tabs" and "stacked tabs" are different things, the proxy pages make use of stacked tabs... |
|
@AdSchellevis No objections from my side :) |
Example (from @fraenki): <field> <label>Tuning Options</label> <type>header</type> </field>
|
Looks good. Thanks, @AdSchellevis! |
|
@fraenki your welcome! |
If I'm not mistaken there is currently no (easy) way to add a proper header for forms. This makes long forms rather confusing:
This patch adds the new input type "header" to allow headers in forms:
(I'd be more happy to have a margin of just 10px instead of 15px, but I don't wanted to add a new css class just for this.)