Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added view hook after top section

(cherry picked from commit 4fe4bcc)
  • Loading branch information...
commit fe0a548875e83991f67ad226bcfa33f2026789e5 1 parent 07c2ba8
@warp warp authored michaeldv committed
View
3  app/views/accounts/_top_section.html.haml
@@ -14,4 +14,7 @@
%td(valign="top" colspan="3")
.label= t(:background_info) << ':'
= f.text_area :background_info, :style =>"width:500px", :rows => 3
+
= hook(:account_top_section_bottom, self, :f => f)
+
+= hook(:account_top_section_after, self, :f => f)
View
4 app/views/contacts/_top_section.html.haml
@@ -30,7 +30,7 @@
(#{t :create_new} #{t :or} <a href='#' onclick='crm.select_account(1); return false;'>#{t :select_existing}</a>):
%span#account_select_title
(<a href='#' onclick='crm.create_account(1); return false;'>#{t :create_new}</a> #{t :or} #{t :select_existing}):
- %span#account_disabled_title :
+ %span#account_disabled_title :
-# Add [-- None --] account choice when editing existing contact that has an account.
- options = { :selected => @account.id || 0 }
@@ -51,4 +51,4 @@
= hook(:contact_top_section_bottom, self, :f => f)
-
+= hook(:contact_top_section_after, self, :f => f)
View
2  app/views/leads/_top_section.html.haml
@@ -24,3 +24,5 @@
= f.text_area :background_info, :style =>"width:500px", :rows => 3
= hook(:lead_top_section_bottom, self, :f => f)
+
+= hook(:lead_top_section_after, self, :f => f)
View
1  app/views/opportunities/_top_section.html.haml
@@ -61,3 +61,4 @@
= hook(:opportunity_top_section_bottom, self, :f => f)
+= hook(:opportunity_top_section_after, self, :f => f)
Please sign in to comment.
Something went wrong with that request. Please try again.