lib/scaffolds/forms/tabpanel/_form.html.haml in effective_developer-0.2.4 vs lib/scaffolds/forms/tabpanel/_form.html.haml in effective_developer-0.2.5
- old
+ new
@@ -9,17 +9,20 @@
%li{role: 'presentation'}
%a{'data-toggle': 'tab', role: 'tab', 'aria-controls': '<%= nested_resource.plural_name %>-tab', href: '#<%= nested_resource.plural_name %>-tab'}
<%= nested_resource.plural_name.titleize %>
<% end -%>
+ %br
.tab-content
#<%= resource.name %>-tab.tab-pane.active{role: 'tabpanel'}
= render 'form_<%= resource.name %>', f: f
<% resource.nested_resources.each do |nested_resource| -%>
#<%= nested_resource.plural_name %>-tab.tab-pane{role: 'tabpanel'}
= render 'form_<%= nested_resource.plural_name %>', f: f
<% end -%>
+
+ %hr
.form-actions
<% if defined?(EffectiveResources) -%>
= simple_form_submit(f)
<% else -%>