Sha256: eabf042ca10d81d7ae40c06df5282a86938370c4ff38e8ddc567f1978dafe784
Contents?: true
Size: 725 Bytes
Versions: 1
Compression:
Stored size: 725 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? || resource.instance.respond_to?(:logs_datatable) %> - 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 -%> <%- if resource.instance.respond_to?(:logs_datatable) -%> = tab 'Logs' do = render_datatable(<%= resource.name %>.logs_datatable) <% end -%> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_developer-0.6.16 | lib/scaffolds/effective/views/_form.html.haml |