Sha256: b5697681d3d4f91079fe057400170c9fab20be682387fba3ef498df5f0b182a1

Contents?: true

Size: 512 Bytes

Versions: 4

Compression:

Stored size: 512 Bytes

Contents

<%
  # name: formstrap/fields/file
  #
  # ==== Options
  # * +form+ - Form object
  # * +name+ - Name for the field
  #
  # ==== Examples
  #   Basic version
  #   <%= render "formstrap/fields/file", form: group, name: :file do |field, attribute, label| %#>
  #     <%= render "formstrap/file", form: field, attribute: attribute, label: label %#>
  #   <% end %#>
%>

<%= render "formstrap/fields/base", form: form, field_type: :file, name: name do |field, label| %>
  <% yield field, :files, label %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
formstrap-0.1.3 app/views/formstrap/fields/_file.html.erb
formstrap-0.1.2 app/views/formstrap/fields/_file.html.erb
formstrap-0.1.1 app/views/formstrap/fields/_file.html.erb
formstrap-0.1.0 app/views/formstrap/fields/_file.html.erb