uklibraries / metadata_editor

Metadata editor satisfying the KDL metadata guidelines
0 stars 0 forks source link

Make tooltips display for controls modified with jquery-chosen #13

Open cokernel opened 11 years ago

cokernel commented 11 years ago

Right now, tooltips display properly for all form controls but the ones modified with jquery-chosen. This fails for the modified controls because chosen plugin hides the original dropdown control (which has the tooltip attached) and does not attach a tooltip to the control it creates.

Here are the strategies I see for dealing with this:

libmanuk commented 11 years ago

Sound reasonable. I have the tooltip text ready for the vast majority of fields.

cokernel commented 11 years ago

@libmanuk, we configure the tooltip text in config/locales/en.yml. This is written in YAML. Just as a preview, here's part of the configuration for repository fields:

  repository:
    abstract: This is the abstract.
              The configuration of this tooltip can span multiple lines.

    email: This is the email.

I can walk you through the process of submitting a pull request with your proposed tooltip text.