Sha256: 0c8e5dca925c4b728cdf2dadf5d40d5eced8083164548dac30e1848f209e2620

Contents?: true

Size: 449 Bytes

Versions: 36

Compression:

Stored size: 449 Bytes

Contents

<% if resource.namespace.present? -%>
= effective_form_with(model: [:<%= resource.namespace %>, <%= resource.name %>], engine: true) do |f|
<% else -%>
= effective_form_with(model: <%= resource.name %>, engine: true) do |f|
<% end -%>
<% resource.belong_tos.each do |reference| -%>
<%= render_field(reference, depth: 1) %>
<% end -%>
<% attributes.each do |attribute| -%>
<%= render_field(attribute, depth: 1) %>
<% end -%>

  = effective_submit(f)

Version data entries

36 entries across 18 versions & 1 rubygems

Version Path
effective_developer-0.7.4 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.7.4 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.7.3 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.7.3 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.7.2 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.7.2 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.7.1 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.7.1 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.7.0 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.7.0 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.6.17 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.6.17 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.6.16 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.6.16 lib/scaffolds/effective/views/_form_resource.html.haml
effective_developer-0.6.15 lib/scaffolds/admin_effective/views/_form_resource.html.haml
effective_developer-0.6.15 lib/scaffolds/effective/views/_form_resource.html.haml