Edit country select in forms

This commit is contained in:
Martin Lensment 2015-02-02 11:51:22 +02:00
parent 7537bb3712
commit 195aa4a890
7 changed files with 147 additions and 104 deletions

View file

@ -57,7 +57,7 @@ class Admin::RegistrarsController < AdminController
def registrar_params
params.require(:registrar).permit(
:name, :reg_no, :vat_no, :address, :billing_address,
:country_id, :email, :phone, :billing_email
:country_code, :email, :phone, :billing_email
)
end
end