mirror of
https://github.com/internetee/registry.git
synced 2025-08-13 21:19:31 +02:00
Unify contact.auth_info
look and feel
This commit is contained in:
parent
8023742964
commit
4e2d32a6ce
4 changed files with 8 additions and 11 deletions
|
@ -52,10 +52,5 @@ body > .container
|
||||||
.text-grey
|
.text-grey
|
||||||
color: grey
|
color: grey
|
||||||
|
|
||||||
.partially-hidden
|
|
||||||
border: 1px solid #dddddd
|
|
||||||
padding-left: 4px
|
|
||||||
padding-right: 4px
|
|
||||||
|
|
||||||
.disabled-value
|
.disabled-value
|
||||||
padding-top: 8px
|
padding-top: 8px
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
%dt= t(:id)
|
%dt= t(:id)
|
||||||
%dd= @contact.code
|
%dd= @contact.code
|
||||||
|
|
||||||
%dt= t(:authinfo_pw)
|
%dt= Contact.human_attribute_name :auth_info
|
||||||
%dd
|
%dd
|
||||||
= text_field_tag :auth_info, @contact.auth_info, readonly: true, class: 'partially-hidden'
|
= tag :input, type: 'text', value: @contact.auth_info, readonly: true,
|
||||||
|
class: 'form-control input-sm'
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
<dt><%= Contact.human_attribute_name :auth_info %></dt>
|
<dt><%= Contact.human_attribute_name :auth_info %></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<%= text_field_tag :auth_info, @contact.auth_info, readonly: true,
|
<%= tag :input, type: 'text', value: @contact.auth_info, readonly: true,
|
||||||
class: 'partially-hidden' %>
|
class: 'form-control input-sm' %>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><%= Contact.human_attribute_name :ident %></dt>
|
<dt><%= Contact.human_attribute_name :ident %></dt>
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
%dt= t(:id)
|
%dt= t(:id)
|
||||||
%dd= @contact.id
|
%dd= @contact.id
|
||||||
|
|
||||||
%dt= t(:authinfo_pw)
|
%dt= Contact.human_attribute_name :auth_info
|
||||||
%dd
|
%dd
|
||||||
= text_field_tag :password, @contact.password, readonly: true, class: 'partially-hidden'
|
= tag :input, type: 'text', value: @contact.password, readonly: true,
|
||||||
|
class: 'form-control input-sm'
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue