mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
19 lines
904 B
Text
19 lines
904 B
Text
.form-group
|
|
= f.label :name, class: 'col-md-2 control-label'
|
|
.col-md-10
|
|
= f.text_field(:name, class: 'form-control')
|
|
|
|
.form-group
|
|
= f.label :period, class: 'col-md-2 control-label'
|
|
.col-md-5
|
|
= f.text_field(:period, class: 'form-control')
|
|
.col-md-5
|
|
= f.select :period_unit, options_for_select(['y', 'm', 'd'], @domain.period_unit), {}, { class: 'form-control' }
|
|
|
|
.form-group
|
|
= f.label :owner_contact_typeahead, t('shared.owner'), class: 'col-md-2 control-label'
|
|
.col-md-10.has-feedback.js-typeahead-container
|
|
= f.text_field(:owner_contact_typeahead, class: 'form-control js-contact-typeahead', placeholder: t('shared.contact_code'), autocomplete: 'off')
|
|
%span.glyphicon.glyphicon-ok.form-control-feedback.js-typeahead-ok.hidden
|
|
%span.glyphicon.glyphicon-remove.form-control-feedback.js-typeahead-remove
|
|
= f.hidden_field(:owner_contact_id, class: 'js-contact-id')
|