Sha256: 9bfbf9c63e16fd6f5067ff948cf7f6afc78676017ae5cc035abb4fb7c2b2429e
Contents?: true
Size: 480 Bytes
Versions: 20
Compression:
Stored size: 480 Bytes
Contents
<%= form_tag send(:"lolita_#{resource_class.model_name.singular}_upload_path", "#{resource_class.model_name.singular}_id" => resource.id, :association => tab.association.name, :id=>file.id),:method=>:put,:remote=>true,:id=>"edit_#{tab.association.name}_#{file.id}" do %> <% tab.editable_fields.each do |name| %> <%= label_tag "file[#{name}]", file.class.human_attribute_name(name) %> <%= text_field_tag "file[#{name}]",file.send(name) %> <br /> <% end %> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems