Sha256: 2a3a7443400b36dd8cc642f9079d78bdbe4bac49a0d37ca814ab2c84c820268c
Contents?: true
Size: 240 Bytes
Versions: 7
Compression:
Stored size: 240 Bytes
Contents
.fields <% @attrs.each do |att| -%> .field = f.label :<%= att %> = f.<%= attr_form_method(@kls, att) %> :<%= att %> <% end -%> <% if @assoc == :has_many and options.javascript? -%> = link_to_remove_fields "remove", f <% end -%>
Version data entries
7 entries across 7 versions & 1 rubygems