Revert "Extract partial"

This reverts commit 955dc10
This commit is contained in:
Artur Beljajev 2018-03-08 14:22:28 +02:00
parent ffc32b66de
commit d53a7f9c47
4 changed files with 19 additions and 25 deletions

View file

@ -1,20 +0,0 @@
<div class="panel panel-default">
<div class="panel-heading">
<%= t '.header' %>
</div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt><%= Registrar.human_attribute_name :vat_no %></dt>
<dd><%= registrar.vat_no %></dd>
<dt><%= Registrar.human_attribute_name :vat_rate %></dt>
<dd><%= number_to_percentage registrar.vat_rate, precision: 1 %></dd>
<dt><%= Registrar.human_attribute_name :accounting_customer_code %></dt>
<dd><%= registrar.accounting_customer_code %></dd>
<dt><%= Registrar.human_attribute_name :billing_email %></dt>
<dd><%= registrar.billing_email %></dd>
</dl>
</div>
</div>

View file

@ -57,6 +57,12 @@
<dd>
<%= @registrar.reg_no %>
</dd>
<dt>
<%= t(:vat_no) %>
</dt>
<dd>
<%= @registrar.vat_no %>
</dd>
<dt>
<%= t(:reference_no) %>
</dt>
@ -81,6 +87,12 @@
<dd>
<%= @registrar.website %>
</dd>
<dt>
<%= Registrar.human_attribute_name :accounting_customer_code %>
</dt>
<dd>
<%= @registrar.accounting_customer_code %>
</dd>
</dl>
</div>
</div>
@ -124,10 +136,15 @@
<dd>
<%= @registrar.billing_address %>
</dd>
<dt>
<%= t(:billing_email) %>
</dt>
<dd>
<%= @registrar.billing_email %>
</dd>
</dl>
</div>
</div>
<%= render 'billing', registrar: @registrar %>
<%= render 'admin/registrars/show/preferences', registrar: registrar %>
</div>
</div>

View file

@ -22,9 +22,6 @@ en:
edit:
header: Edit registrar
billing:
header: Billing
create:
created: Registrar has been successfully created
not_created: Unable to create registrar

View file

@ -199,6 +199,7 @@ en:
alg: 'Algorithm'
public_key: 'Public key'
registrar:
billing_email: 'Billing e-mail'
phone: 'Contact phone'
email: 'Contact e-mail'
state: 'State / Province'
@ -777,5 +778,4 @@ en:
unit:
attributes:
vat_no: VAT number
vat_rate: VAT rate