asf_scaffold_generator 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/templates/asf_view_show.rhtml +8 -4
  2. metadata +1 -1
@@ -4,7 +4,9 @@
4
4
  entity_def = connection.get_entity_def(entity_name)
5
5
  layouts = entity_def.layouts
6
6
  %>
7
- <table>
7
+ <div class="bPageBlock secondaryPalette" id="ep"><div class="pbHeader">
8
+ <div class="pbBody"><div class="pbSubsection">
9
+ <table class="detailList">
8
10
  <% layouts[:layouts][:detailLayoutSections].each do |section|
9
11
  rows = section[:layoutRows]
10
12
  rows = [ rows ] unless rows.is_a? Array
@@ -15,11 +17,11 @@
15
17
  items = [ items ] unless items.is_a? Array
16
18
  items.each do | item |
17
19
  %>
18
- <td><%= item[:label] %></td>
20
+ <td class="labelCol"><%= item[:label] %></td>
19
21
  <% components = item[:layoutComponents]
20
22
  components = [ components ] unless components.is_a? Array
21
23
  %>
22
- <td>
24
+ <td class="dataCol col02">
23
25
  <% components.each do |component|
24
26
  next if component.nil?
25
27
  if component[:type] == "Field"
@@ -42,4 +44,6 @@
42
44
  <% end
43
45
  end
44
46
  %>
45
- </table>
47
+ </table>
48
+ </div></div>
49
+ </div></div>
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: asf_scaffold_generator
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.5
6
+ version: 0.0.6
7
7
  date: 2006-02-26 00:00:00 -05:00
8
8
  summary: ActiveSalesforce Generator provides additional salesforce aware scaffolding support.
9
9
  require_paths: