mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
commit
924df78fe5
31 changed files with 212 additions and 34 deletions
|
@ -27,6 +27,11 @@
|
|||
= f.label :phone
|
||||
.col-md-7
|
||||
= f.text_field(:phone, class: 'form-control')
|
||||
.form-group
|
||||
.col-md-4.control-label
|
||||
= f.label :website
|
||||
.col-md-7
|
||||
= f.url_field :website, class: 'form-control'
|
||||
.form-group
|
||||
.col-md-4.control-label
|
||||
= f.label :email
|
||||
|
@ -75,7 +80,7 @@
|
|||
.col-md-8
|
||||
.panel.panel-default
|
||||
.panel-heading.clearfix
|
||||
.pull-left= t(:misc)
|
||||
.pull-left= t('.misc')
|
||||
.panel-body
|
||||
.form-group
|
||||
.col-md-4.control-label
|
||||
|
@ -91,4 +96,4 @@
|
|||
%hr
|
||||
.row
|
||||
.col-md-8.text-right
|
||||
= button_tag(t(:save), class: 'btn btn-primary')
|
||||
= button_tag(t(".#{f.object.new_record? ? 'create' : 'update'}_btn"), class: 'btn btn-success')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- content_for :actions do
|
||||
= link_to(t(:new), new_admin_registrar_path, class: 'btn btn-primary')
|
||||
= link_to(t('.new_btn'), new_admin_registrar_path, class: 'btn btn-primary')
|
||||
= render 'shared/title', name: t(:registrars)
|
||||
|
||||
.row
|
||||
|
|
|
@ -39,6 +39,9 @@
|
|||
%dt= t(:credit_balance)
|
||||
%dd= @registrar.balance
|
||||
|
||||
%dt= Registrar.human_attribute_name :website
|
||||
%dd= @registrar.website
|
||||
|
||||
.col-md-6
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue