Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permitir adicionar classes ao Label em Contact_Form #163

Closed
deblynprado opened this issue Apr 18, 2014 · 0 comments · Fixed by #377
Closed

Permitir adicionar classes ao Label em Contact_Form #163

deblynprado opened this issue Apr 18, 2014 · 0 comments · Fixed by #377

Comments

@deblynprado
Copy link
Member

Mudar a estrutura da classe Abstract-front-end-form de modo que seja possível inserir classes no label (sr-only, por exemplo).

Acho que o ideal seria aceitar um array no label.

$form->set_fields(
 array(
  'fields' => array(
   'label' => array(
    'text' => __('some text', odin),
    'class' => 'sr-only exemple-classes'
   ),
  ),
 )
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant