Skip to content
This repository was archived by the owner on Aug 21, 2019. It is now read-only.
This repository was archived by the owner on Aug 21, 2019. It is now read-only.

select list #10

@marccantwell

Description

@marccantwell

could you provide an example of how to hook up select list data? for example, I have:

<%= f.select :state, options_for_select( [[ "Select a State", "" ]] + State::NAMES )%>

in my form view for selecting states. How would I replicate this with the gem? The jeditable documentation shows how to load a url of that data, which I suppose I could do, but, I'm assuming it is possible to pull in something similar to what I have above.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions