mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Rename "Domain password" to "Domain transfer code"
Original change in 4b836f1476
#660
This commit is contained in:
parent
a4c11996f2
commit
07900ed807
3 changed files with 4 additions and 4 deletions
|
@ -118,7 +118,7 @@ module Depp
|
|||
|
||||
current_user.request(epp_xml.transfer({
|
||||
name: { value: params[:domain_name] },
|
||||
authInfo: { pw: { value: params[:password] } }
|
||||
authInfo: { pw: { value: params[:transfer_code] } }
|
||||
}, op, Domain.construct_custom_params_hash(params)))
|
||||
end
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3 control-label">
|
||||
<%= label_tag :password, t(:password), class: 'required' %>
|
||||
<%= label_tag :transfer_code, nil, class: 'required' %>
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<%= text_field_tag :password, params[:password], class: 'form-control', autocomplete: 'off',
|
||||
<%= text_field_tag :transfer_code, params[:transfer_code], class: 'form-control', autocomplete: 'off',
|
||||
required: true %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -24,7 +24,7 @@ class RegistrarDomainsTest < ActionDispatch::IntegrationTest
|
|||
visit registrar_domains_url
|
||||
click_link 'Transfer'
|
||||
fill_in 'Name', with: 'shop.test'
|
||||
fill_in 'Password', with: '65078d5'
|
||||
fill_in 'Transfer code', with: '65078d5'
|
||||
click_button 'Transfer'
|
||||
|
||||
assert_text 'Transfer requested at: 2010-07-05 10:30:00'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue