mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 03:09:36 +02:00
Updated seed file
This commit is contained in:
parent
0586babd01
commit
78b534047c
2 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
.row
|
.row
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
%h2.text-center-xs= t('shared.contacts_history')
|
%h2.text-center-xs= t('shared.contacts_history')
|
||||||
= render 'admin/contacts/partials/search'
|
=# render 'search'
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
%h2.text-right.text-center-xs
|
%h2.text-right.text-center-xs
|
||||||
= link_to(t('shared.deleted'), admin_contact_versions_path(deleted: true), class: 'btn btn-primary')
|
= link_to(t('shared.deleted'), admin_contact_versions_path(deleted: true), class: 'btn btn-primary')
|
||||||
|
|
|
@ -12,7 +12,8 @@ Country.where(name: 'Latvia', iso: 'LV').first_or_create
|
||||||
zone = Registrar.where(
|
zone = Registrar.where(
|
||||||
name: 'Zone Media OÜ',
|
name: 'Zone Media OÜ',
|
||||||
reg_no: '10577829',
|
reg_no: '10577829',
|
||||||
address: 'Lõõtsa 2, Tallinna linn, Harju maakond, 11415'
|
address: 'Lõõtsa 2, Tallinna linn, Harju maakond, 11415',
|
||||||
|
country: Country.first
|
||||||
).first_or_create
|
).first_or_create
|
||||||
|
|
||||||
EppUser.where(username: 'zone', password: 'ghyt9e4fu', active: true, registrar: zone).first_or_create
|
EppUser.where(username: 'zone', password: 'ghyt9e4fu', active: true, registrar: zone).first_or_create
|
||||||
|
@ -20,7 +21,8 @@ EppUser.where(username: 'zone', password: 'ghyt9e4fu', active: true, registrar:
|
||||||
elkdata = Registrar.where(
|
elkdata = Registrar.where(
|
||||||
name: 'Elkdata OÜ',
|
name: 'Elkdata OÜ',
|
||||||
reg_no: '10510593',
|
reg_no: '10510593',
|
||||||
address: 'Tondi 51-10, 11316 Tallinn'
|
address: 'Tondi 51-10, 11316 Tallinn',
|
||||||
|
country: Country.first
|
||||||
).first_or_create
|
).first_or_create
|
||||||
|
|
||||||
EppUser.where(username: 'elkdata', password: '8932iods', active: true, registrar: elkdata).first_or_create
|
EppUser.where(username: 'elkdata', password: '8932iods', active: true, registrar: elkdata).first_or_create
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue