Refatored to use shared/title partial

This commit is contained in:
Priit Tark 2015-04-16 16:29:04 +03:00
parent 4c660df43e
commit 8d4124585c
73 changed files with 402 additions and 411 deletions

View file

@ -1,7 +1,5 @@
.row
.col-sm-12
%h2.text-center-xs= t(:contacts)
%hr
= render 'shared/title', name: t(:contacts)
.row
.col-md-12
= search_form_for [:admin, @q], html: { class: 'form-horizontal' } do |f|

View file

@ -1,8 +1,5 @@
.row
.col-sm-12
%h2.text-center-xs
= @contact.name
%hr
= render 'shared/title', name: @contact.name
.row
.col-md-6= render 'admin/contacts/partials/general'
.col-md-6= render 'admin/contacts/partials/address'