Sha256: 15292325ab3f0b2d88c0808cdac3df9310f675d377ec2e16fa0c108fc7860feb

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 KB

Contents

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @banner } %>

<%= form_for [:admin, @banner], :html => { :multipart => true } do |f| %>
<fieldset data-hook="new_banner">
	<div class="clearfix" data-hook="new_banner_attrs">
		<div class="left">
			<%= f.field_container :category do %>
				<%= f.label :category, t(:category) %> <span class="required">*</span><br />
				<%= f.text_field :category, :class => 'fullwidth title' %>
				<%= f.error_message_on :category %>
			<% end %>

			<%= f.field_container :url do %>
				<%= f.label :url, t(:url) %><br />
				<%= f.text_field :url, :class => 'fullwidth title' %>
				<%= f.error_message_on :url %>
			<% end %>

			<%= f.field_container :attachment do %>
				<%= f.label :attachment, t(:attachment) %><br />
				<%= f.file_field :attachment %>
				<%= f.error_message_on :attachment %>
			<% end %>
		</div>
		<div class="right">
			<%= f.field_container :attachment_width do %>
				<%= f.label :attachment_width, t(:attachment_width) %> <span class="required">*</span><br />
				<%= f.text_field :attachment_width, :class => 'fullwidth title' %>
				<%= f.error_message_on :attachment_width %>
			<% end %>

			<%= f.field_container :attachment_height do %>
				<%= f.label :attachment_height, t(:attachment_height) %> <span class="required">*</span><br />
				<%= f.text_field :attachment_height, :class => 'fullwidth title' %>
				<%= f.error_message_on :attachment_height %>
			<% end %>

			<%= f.field_container :position do %>
				<%= f.label :position, t(:position) %><br />
				<%= f.text_field :position, :class => 'fullwidth title' %>
				<%= f.error_message_on :position %>
			<% end %>

			<%= f.field_container :enabled do %>
				<%= f.label :enabled, t(:enabled) %><br />
				<%= f.check_box :enabled %>
				<%= f.error_message_on :enabled %>
			<% end %>
		</div>
	</div>
	<%= render :partial => 'spree/admin/shared/new_resource_links' %>
</fieldset>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_banner-1.1.5 app/views/spree/admin/banners/new.html.erb
spree_banner-1.1.4 app/views/spree/admin/banners/new.html.erb