Sha256: 96e22724de8de3a09332e827d88334c7ecc5ce4c947f943b9cfbcf4cbb08619f

Contents?: true

Size: 766 Bytes

Versions: 2

Compression:

Stored size: 766 Bytes

Contents

<% scope = 'activerecord.attributes.spree/home_page_feature' -%>

<%= f.field_container :title do %>
  <%= f.label :title, t(:title, :scope => scope) %><br />
  <%= f.text_field :title %>
<% end %>
<%= f.field_container :body do %>
  <%= f.label :body, t(:body, :scope => scope) %><br />
  <%= f.text_area :body %>
<% end %>
<%= f.field_container :image do %>
  <%= f.label :image, t(:image, :scope => scope) %><br />
  <%= f.file_field :image %>
<% end %>
<%= f.field_container :style do %>
  <%= f.label :style, t(:style, :scope => scope) %><br />
  <%= f.select :style, Spree::HomePageFeature.styles_dropdown %>
<% end %>
<%= f.field_container :publish do %>
  <%= f.label :publish, t(:published, :scope => scope) %><br />
  <%= f.check_box :publish %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_home_page_features-1.2.4 app/views/spree/admin/home_page_features/_form.erb
spree_home_page_features-1.2.3 app/views/spree/admin/home_page_features/_form.erb