- resource_class.attribute_names.delete_if { |an| %w(id created_at updated_at).include?(an) }.each do |name| = form.input name