Refactor registrars

- Reorganize views
- Improve database structure
- Use default translations
- Combine tests
This commit is contained in:
Artur Beljajev 2019-05-10 13:13:19 +03:00
parent 59e9b16dfa
commit efb63399b2
27 changed files with 287 additions and 353 deletions

View file

@ -58,12 +58,12 @@ module Admin
def registrar_params
params.require(:registrar).permit(:name,
:reg_no,
:street,
:city,
:state,
:zip,
:country_code,
:email,
:address_street,
:address_zip,
:address_city,
:address_state,
:address_country_code,
:phone,
:website,
:code,