Sha256: 785d68dd5d013691ea83c62798696cf23b48ea16ade913010ba4cf959b98ec6b

Contents?: true

Size: 532 Bytes

Versions: 6

Compression:

Stored size: 532 Bytes

Contents

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

<%= render 'headmin/forms/fields/base', form: form, field_type: :image, name: name do |field, label| %>
  <% yield field, :file, label %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
headmin-0.4.1 app/views/headmin/forms/fields/_image.html.erb
headmin-0.4.0 app/views/headmin/forms/fields/_image.html.erb
headmin-0.3.4 app/views/headmin/forms/fields/_image.html.erb
headmin-0.3.3 app/views/headmin/forms/fields/_image.html.erb
headmin-0.3.2 app/views/headmin/forms/fields/_image.html.erb
headmin-0.3.1 app/views/headmin/forms/fields/_image.html.erb