Merge branch 'story/105855968-directo' into staging

# Conflicts:
#	config/locales/en.yml
This commit is contained in:
Vladimir Krylov 2016-03-16 17:51:06 +02:00
commit 0779657b41
7 changed files with 14 additions and 10 deletions

View file

@ -84,9 +84,9 @@
= f.text_field(:code, class: 'form-control', disabled: !f.object.new_record?)
.form-group
.col-md-4.control-label
= f.label :exclude_in_monthly_directo
= f.label :test_registrar
.col-md-7
= f.check_box :exclude_in_monthly_directo, class: 'form-control'
= f.check_box :test_registrar, class: 'form-control'
%hr
.row

View file

@ -14,12 +14,15 @@
= sort_link(@q, 'reg_no', t(:reg_no))
%th{class: 'col-xs-4'}
= t(:credit_balance)
%th{class: 'col-xs-4'}
= t(:test_registrar)
%tbody
- @registrars.each do |x|
%tr
%td= link_to(x, [:admin, x])
%td= x.reg_no
%td= "#{x.balance}"
%td= "#{x.test_registrar}"
.row
.col-md-12
= paginate @registrars