<% for card in @previous_cards %> <%= radio_button_tag :card, card.id, card == @previous_cards.first %> <%= card.display_number %> <% end %> <%= radio_button_tag :card, 'new', @previous_cards.none? %> <%= t(:use_new_cc) %>