Skip to content

Instantly share code, notes, and snippets.

@luizcarvalho
Created February 3, 2009 11:50
Show Gist options
  • Save luizcarvalho/57489 to your computer and use it in GitHub Desktop.
Save luizcarvalho/57489 to your computer and use it in GitHub Desktop.
<dl>
<dt><label for="localidade_cidade">Cidade:</label></dt>
<dd><%= select "rotas","cidades",@localidades,:size=>"1" %>
<%=link_to_remote "Adicionar Cidade",{:url=>{:id=>1,:action=>"add_locate_in_route",:with =>"'thing='+$('#rotas_cidades option:selected').text()"}}.merge(loading_tag)%>
</dl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment