Skip to content

Support for inline help #21

Open
shadypierre opened this Issue Apr 3, 2012 · 5 comments

3 participants

@shadypierre

The twitter bootstrap documentation said :

To add help text for your form inputs, include inline help text with or a help text block with

after the input element.

That could be cool to add support for this feature.

ps : sorry for my english :)

@till
EasyBib member
till commented Apr 5, 2012

Hey,

no problem – would you mind starting a pull request? We could refine it as we go.

Till

@shadypierre

What do you think about adding Setter and Getter on the EasyBib_Form class to define the CSS help class, etc . And use him in the decorator to define what kind of CSS class use.

@till
EasyBib member
till commented Apr 19, 2012

Yeah, that sounds good – we use defaults and allow people to override it.

@shadypierre

In fact that not so easy. That require a complete rewrite of the decorator, for replace statics variables by functions in order to get the defined form options.
Do you see what i mean?

@Mischosch

yes, I see… perhaps that would be a good idea for a more complex refactor work.
Don't like the statics vars anymore… its getting more and more and ugly :)

So, yes, like the idea. But will need some time to refactor all that stuff.
Not sure, when I will find the time to do this.

Any brainstorming or pushing forward is welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.