Sha256: 8f1457db0b1ea0af9f45dfcfee8c4998f7772bf6c3094398eee8fa1def2f7046

Contents?: true

Size: 1007 Bytes

Versions: 3

Compression:

Stored size: 1007 Bytes

Contents

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @spree_notification } %>
<div class="field">
  <%= f.fields_for :notification do %>
    <div class='label-div'><%= f.label :notification %></div>
    <div class='input-div'>
      <%= f.text_area :notification, :rows => "4", :class => 'input-width' %>
    </div>
  <% end %>
</div>
<div class="field">
  <%= f.fields_for :start_date do %>
    <div class='label-div'><%= f.label :start_date , 'Start Date ( should be in UTC )'%></div>
    <div class='input-div'>
      <%= f.text_field :start_date, :id => "start_date", :class => 'input-width'%>
    </div>
  <% end %>
</div>
<div class="field">
  <%= f.fields_for :end_date do %>
    <div class='label-div'><%= f.label :end_date, 'End Date ( should be in UTC )' %></div>
    <div class='input-div'>
      <%= f.text_field :end_date, :id => "end_date", :class => 'input-width'%>
    </div>
  <% end %>
</div>
<div class="field">
  <%= f.submit :id => "notification_btn" %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_custom_notifications-0.5 app/views/spree/admin/notifications/_form.html.erb
spree_custom_notifications-0.4 app/views/spree/admin/notifications/_form.html.erb
spree_custom_notifications-0.3 app/views/spree/admin/notifications/_form.html.erb