mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Added creator_link and updator_link helpers
This commit is contained in:
parent
15272bad76
commit
d8d951974e
3 changed files with 24 additions and 7 deletions
|
@ -32,18 +32,15 @@
|
|||
%dd
|
||||
= l(@contact.created_at, format: :short)
|
||||
by
|
||||
= link_to(@contact.creator, [:admin, @contact.creator])
|
||||
= creator_link(@contact)
|
||||
|
||||
%dt= t(:updated)
|
||||
%dd
|
||||
= l(@contact.updated_at, format: :short)
|
||||
by
|
||||
= link_to(@contact.updator, [:admin, @contact.updator])
|
||||
|
||||
= updator_link(@contact)
|
||||
|
||||
%dt= t(:registrar)
|
||||
%dd
|
||||
- if @contact.registrar.present?
|
||||
= link_to(@contact.registrar, admin_registrar_path(@contact.registrar))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue