= render :layout => 'e9_crm/record_attributes/record_attribute', :locals => { :f => f } do - if (types = WebsiteAttribute.types).present? = f.fields_for f.object.options do |ff| .field = ff.select :type, types