Sha256: 3cd27a15d72db0bdd6c94be1d1d18f8270bb74807668c9034d88056a214e95a5
Contents?: true
Size: 384 Bytes
Versions: 11
Compression:
Stored size: 384 Bytes
Contents
<% content_for :buttons, 'save_buttons' %> <%= simple_form_for(model, as: :form_entry, url: url) do |f| %> <%= render layout: 'form_with_buttons', locals: {f: f} do %> <%= hidden_field_tag :form_id, model.form.id %> <% model.form.fields.each do |field| %> <%= f.input field.name, field.options(entry: model) %> <% end %> <% end %> <% end %>
Version data entries
11 entries across 11 versions & 2 rubygems