Sha256: f3e8c93d8839a908d16b02b473bc02ca07426dd624d8d9e4f7a6cbe2f22e4d58
Contents?: true
Size: 713 Bytes
Versions: 2
Compression:
Stored size: 713 Bytes
Contents
= tabs do = tab '<%= resource.human_name.titleize %>' do = render '<%= resource.view_file_path("form_#{resource.name}") %>', <%= resource.name %>: <%= resource.name %> <%- if resource.nested_resources.present? %> - if <%= resource.name %>.persisted? <%- resource.nested_resources.each do |nested_resource| -%> = tab '<%= nested_resource.plural_name.titleize %>' do = render_datatable(<%= nested_resource.klass.name %>Datatable.new(<%= resource.name %>_id: <%= resource.name %>.id)) <%- end -%> <% end -%> - if <%= resource.name %>.persisted? && <%= resource.name %>.respond_to?(:logs_datatable) = tab 'Logs' do = render_datatable(<%= resource.name %>.logs_datatable, inline: true)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_developer-0.6.16 | lib/scaffolds/basic/views/_form.html.haml |
effective_developer-0.6.15 | lib/scaffolds/basic/views/_form.html.haml |