mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Refatored to use shared/title partial
This commit is contained in:
parent
4c660df43e
commit
8d4124585c
73 changed files with 402 additions and 411 deletions
11
app/views/shared/_title.haml
Normal file
11
app/views/shared/_title.haml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- content_for :head_title do
|
||||
%title= "#{truncate(name, length: 60)}#{head_title_sufix}"
|
||||
|
||||
.row
|
||||
.col-sm-6
|
||||
%h1.text-center-xs
|
||||
= truncate(name, length: 35)
|
||||
.col-sm-6
|
||||
%h1.text-right.text-center-xs
|
||||
= yield :actions
|
||||
%hr
|
Loading…
Add table
Add a link
Reference in a new issue