Created
January 12, 2009 12:18
-
-
Save slawosz/45977 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= select :article_id, :collection => @articles, :text_method => :title, :value_method => :id, :label => "Wybierz artykuł do pokazania w menu", :include_blank => "Wybierz artykuł", :selected => @menu_element.article.id.to_s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li id="menu_element_article_id_container"> | |
<label class="main" for="menu_element_article_id">Wybierz artykuł do pokazania w menu</label> | |
<div> | |
<label for="menu_element_article_id">Wybierz artykuł do pokazania w menu</label><select name="menu_element[article_id]" id="menu_element_article_id"><option value=""></option><option value="1" selected="selected">test</option><option value="2">aaa</option></select></div></li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment