Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

<legend> Tag deaktieren, wenn nicht ausgefüllt #2625

Closed
ghost opened this issue Nov 29, 2011 · 2 comments
Closed

<legend> Tag deaktieren, wenn nicht ausgefüllt #2625

ghost opened this issue Nov 29, 2011 · 2 comments
Assignees
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Nov 29, 2011

Hallo,
wenn man mit Hilfe des Formulargenerators ein Fieldset erstellt, wird automatische ein Tag erstellt, auch wenn das dazugehörige Feld leer gelassen hat.
Lösung des Problems: in der FormFieldset.php in Zeile 91 kann man folgendes machen

return "  <fieldset" . ($this->strClass ? ' class="' . $this->strClass . '"' : '') . ">\n";
if($this-label):
    return "<legend>" . $this->label . "</legend>\n";
endif;

Gruß
David

--- Originally created by dhe on October 20th, 2010, at 08:22pm (ID 2625)

@ghost ghost assigned leofeyer Nov 29, 2011
@leofeyer
Copy link
Member

Implementiert in 5967bc2.

--- Originally created on October 20th, 2010, at 10:38pm

@leofeyer
Copy link
Member

--- Originally completed on October 20th, 2010, at 10:38pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant