diff --git a/app/views/registrar/domains/transfer_index.haml b/app/views/registrar/domains/transfer_index.haml deleted file mode 100644 index 502a3aab8..000000000 --- a/app/views/registrar/domains/transfer_index.haml +++ /dev/null @@ -1,27 +0,0 @@ -= render 'shared/title', name: t(:transfer_domain) - -.row - .col-md-8 - = form_tag transfer_registrar_domains_path, class: 'form-horizontal', method: :post, multipart: true, autocomplete: 'off' do - .form-group - .col-md-3.control-label - = label_tag :domain_name, t(:name), class: 'required' - .col-md-7 - = text_field_tag :domain_name, params[:domain_name], class: 'form-control', - placeholder: t(:domain_name), autocomplete: 'off', autofocus: true, required: true - .form-group - .col-md-3.control-label - = label_tag :password, t(:password), class: 'required' - .col-md-7 - = text_field_tag :password, params[:password], - class: 'form-control', autocomplete: 'off', required: true - .form-group - .col-md-3.control-label - = label_tag 'legal_document', t(:legal_document) - .col-md-7 - = file_field_tag 'legal_document' - .form-group - .col-md-10.text-right - %button.btn.btn-warning{ name: 'request' }= t(:transfer) - /%button.btn.btn-warning{ name: 'approve' }= t(:approve) - /%button.btn.btn-warning{ name: 'reject' }= t(:reject) diff --git a/app/views/registrar/domains/transfer_index.html.erb b/app/views/registrar/domains/transfer_index.html.erb new file mode 100644 index 000000000..e5a82f873 --- /dev/null +++ b/app/views/registrar/domains/transfer_index.html.erb @@ -0,0 +1,42 @@ +<%= render 'shared/title', name: t(:transfer_domain) %> + +
+
+ <%= form_tag transfer_registrar_domains_path, class: 'form-horizontal', method: :post, multipart: true, autocomplete: 'off' do %> +
+
+ <%= label_tag :domain_name, t(:name), class: 'required' %> +
+
+ <%= text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true, required: true %> +
+
+ +
+
+ <%= label_tag :password, t(:password), class: 'required' %> +
+
+ <%= text_field_tag :password, params[:password], class: 'form-control', autocomplete: 'off', required: true %> +
+
+ +
+
+ <%= label_tag 'legal_document', t(:legal_document) %> +
+
+ <%= file_field_tag 'legal_document' %> +
+
+ +
+
+ +
+
+ <% end %> +
+