Skip to content

Commit

Permalink
Simplified template.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Nov 20, 2012
1 parent 7ac3ec5 commit 0b5ce40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
12 changes: 4 additions & 8 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ $sidebar_width: 210px;
&.show_attributes {
margin-top: 6px; } }

.subtitle_inline_info {
margin-left: 5px }

.subtitle_tools {
font-size: 11px;
float: right; }
Expand Down Expand Up @@ -194,14 +197,7 @@ $sidebar_width: 210px;
display: block;
padding-top: 2px;
input {
margin-right: 5px; } } } }
&.show_fields {
background-color: transparent;
padding: 0;
color: black;
table {
border-spacing: 4px;
border-collapse: separate; } } }
margin-right: 5px; } } } } }

.remote {
border: 5px lightblue solid;
Expand Down
8 changes: 3 additions & 5 deletions app/views/contacts/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@

%div#edit_contact{ hidden }

.section.show_fields
= render :partial => "show_contact_sections", :locals => { :contact => @contact }

= render :partial => "show_contact_sections", :locals => { :contact => @contact }

= render "comments/new", :commentable => @contact
= render :partial => "shared/timeline", :collection => @timeline
= render "comments/new", :commentable => @contact
= render :partial => "shared/timeline", :collection => @timeline

= hook(:show_contact_bottom, self) do

Expand Down

0 comments on commit 0b5ce40

Please sign in to comment.