Skip to content

Instantly share code, notes, and snippets.

@patrickberkeley
Created August 22, 2008 03:25
Show Gist options
  • Save patrickberkeley/6730 to your computer and use it in GitHub Desktop.
Save patrickberkeley/6730 to your computer and use it in GitHub Desktop.
<% if @order_account.cc_type %>
<% @selected = @order_account.cc_type %>
<% end %>
<td><%= select('order_account', 'cc_type', OrderAccount.cc_type, {:selected => @selected}, {:tabindex => "9"}) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment