Sha256: 717f554aebe4d0b9a54d047e08155e3cc0c4b55ce8161b1729f024eeac456a30
Contents?: true
Size: 386 Bytes
Versions: 10
Compression:
Stored size: 386 Bytes
Contents
<%% f.inputs "<%= name %>", :class=> "inputs" do %> <%% f.fields_for :<%= name.underscore.to_sym %> do |c| %> <%% c.inputs "Details" do %> <% model_attributes.each do |attr_name| -%> <%% c.input :<%= attr_name.split(':')[0] %> %> <% end -%> <%% end %> <%% c.input :article_id, as: :hidden %> <%% c.input :id, as: :hidden %> <%% end %> <%% end %>
Version data entries
10 entries across 10 versions & 2 rubygems