Sha256: 8608a3965423906b6267d3b81d558dca374a14c5ae6e374f24f6e8330564a4c1

Contents?: true

Size: 486 Bytes

Versions: 2

Compression:

Stored size: 486 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

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 app/views/components/lolita/configuration/tab/files/_form.html.erb
lolita-file-upload-0.2.0 app/views/components/lolita/configuration/tab/files/_form.html.erb