Sha256: 35e136a119329795ffd21f7c061997dc9b6381de0b4f89466ba02e671072ca0f
Contents?: true
Size: 595 Bytes
Versions: 13
Compression:
Stored size: 595 Bytes
Contents
<%= alchemy_form_for resource_instance_variable, url: resource_path(resource_instance_variable) do |f| %> <% resource_handler.editable_attributes.each do |attribute| %> <% if relation = attribute[:relation] %> <%= f.association relation[:name].to_sym, label_method: relation[:attr_method], include_blank: _t(:blank, scope: 'resources.relation_select'), input_html: {class: 'alchemy_selectbox'} %> <% else %> <%= f.input attribute[:name], resource_attribute_field_options(attribute) %> <% end %> <% end %> <%= f.submit _t(:save) %> <% end %>
Version data entries
13 entries across 13 versions & 2 rubygems