Skip to content

Instantly share code, notes, and snippets.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
= simple_form_for(@account) do |f|
= f.error_notification
= f.input :type, collection:['iban', 'rib'], include_blank: false
#iban
.inputs
= f.input :iban, :include_blank => false
= f.input :bic, :include_blank => false