Sha256: 894c39cc821a807d26794442bb1e23cdf64dc3d317faaa8f76061da26eeeda24

Contents?: true

Size: 586 Bytes

Versions: 6

Compression:

Stored size: 586 Bytes

Contents

<%= form.field_container :title do %>
  <%= form.label :title %> <span class="required">*</span><br />
  <%= form.text_field :title, :class => "title"  %>
  <%= error_message_on :example, :title %>
<% end %>

<%= form.field_container :body do %>
  <%= form.label :body %><%= markdown_helper %><br />
  <%= form.text_area :body  %>
  <%= error_message_on :example, :body %>
<% end %>

<% content_for :head do %>
  <script type="text/javascript">
  //<![CDATA[
    $(document).ready(function() {
      $('#example_body').markItUp(markdownSettings);
    }); 
  //]]>
  </script>
<% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_essentials_jn-0.6.1 test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
spree_essentials_jn-0.6.0 test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
spree_essentials-0.5.0 test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
spree_essentials-0.5.0.rc1 test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
spree_essentials-0.4.0 test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
spree_essentials-0.4.0.rc3 test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb