src/attributes.erb in rtfdoc-0.1.2 vs src/attributes.erb in rtfdoc-0.1.3
- old
+ new
@@ -28,14 +28,14 @@
</h5>
<ul class="child-list hidden">
<% hash['children'].each do |child_name, child_hash| %>
<li class="list-item">
<div class="list-item-label">
- <div class="list-item-name"><%= name %></div>
- <div class="list-item-type"><%= hash['type'] %> </div>
+ <div class="list-item-name"><%= child_name %></div>
+ <div class="list-item-type"><%= child_hash['type'] %> </div>
</div>
<div class="list-item-description">
- <p><%= hash['desc'] %></p>
+ <p><%= child_hash['desc'] %></p>
</div>
</li>
<% end %>
</ul>
</div>