Editing record

<%= render @record.type == 'SOA' ? 'soa_form' : 'form' %>