mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Refactor validity dates to model
This commit is contained in:
parent
4c4edd3747
commit
80440d741b
5 changed files with 22 additions and 14 deletions
|
@ -11,7 +11,11 @@
|
|||
= f.text_field(:name, class: 'form-control')
|
||||
.form-group
|
||||
= f.label :period
|
||||
= f.text_field(:period, class: 'form-control')
|
||||
.row
|
||||
.col-md-6
|
||||
= f.text_field(:period, class: 'form-control')
|
||||
.col-md-6
|
||||
= f.select :period_unit, options_for_select(['y', 'm', 'd'], @domain.period_unit), {}, {class: 'form-control'}
|
||||
.col-md-6
|
||||
.form-group.has-feedback
|
||||
= f.label :registrar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue