Sha256: 17e25e1bb9377e181f1a57cdc6a54b93402a2c25d97a62e2fdfcdb142090d3d0

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

<div id="admin_comment_type_form_fields" data-hook>
  <%= f.field_container :name do %>
    <%= f.label :name, Spree.t(:name) %><br />
    <%= f.text_field :name, :class => 'fullwidth title' %>
    <%= error_message_on :comment_type, :name %>
  <% end %>

  <%= f.field_container :applies_to do %>
    <%= f.label :applies_to, Spree.t(:applies_to) %><br />
    <%= f.text_field :applies_to, :value => f.object.nil? ? 'Order' : f.object.applies_to, :class => 'fullwidth title' %>
    <%= error_message_on :comment_type, :applies_to%>
  <% end %>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_comments-1.0.1 app/views/spree/admin/comment_types/_form.html.erb
solidus_comments-1.0.0 app/views/spree/admin/comment_types/_form.html.erb