internetee-registry/app/views/registrar/domains/renew_index.haml
2015-04-16 16:31:22 +03:00

21 lines
998 B
Text

= render 'shared/title', name: t(:renew_domain)
.row
.col-md-8
= form_tag renew_registrar_domains_path, class: 'form-horizontal', method: :get do
.form-group
= label_tag :domain_name, t(:name), class: 'col-md-3 control-label'
.col-md-7
= text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t('domain_name'), autocomplete: 'off'
.form-group
= label_tag :cur_exp_date, t(:cur_exp_date), class: 'col-md-3 control-label'
.col-md-7
= text_field_tag :cur_exp_date, params[:cur_exp_date], class: 'form-control', placeholder: 'yyyy-mm-dd', autocomplete: 'off'
.form-group
= label_tag :domain_period, t(:period), class: 'col-md-3 control-label'
.col-md-7
= select_tag :period,
options_for_select(Depp::Domain::PERIODS, params[:period]), { class: 'form-control' }
.form-group
.col-md-10.text-right
%button.btn.btn-primary= t(:renew)