Sha256: 3d70c92389f3a14b0e21febe0d582ed7f000987001078a2f073e60129883defc
Contents?: true
Size: 919 Bytes
Versions: 2
Compression:
Stored size: 919 Bytes
Contents
<%= editable_image({key: 'header_image', src: image_path('baws.jpg'), height: '360'}, @page) %> <%= editable_field(:h1, {key: 'header'}, @page) do %> rubber ring cms <% end %> <%= editable_field(:div, {key: 'first_content', class: 'multi-line'}, @page) do %> editing page content right away <% end %> <h3>Support for attachments</h3> <%= attachment({key: 'software-architecture', href: 'http://www.education.gov.yk.ca/pdf/pdf-test.pdf'}, @page) do %> <%= editable_field(:span, {key: 'link_title'}, @page) do %>Link to PDF<% end %> <% end %> <br> <br> <h3>Dynamic site? check your ruber_ring.rb initializer</h3> <form method="post" action="<%= form_path %>"> <input name="value" value="" placeholder="Something" /> <input type="submit" value="Post this" /> </form> <% if flash[:message] %> <h4>Oh my, you typed "<%= flash[:message] %>"</h4> <% end %> <br> <br> <% repeat_template('article', @page) %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubber_ring-0.1.1 | test/dummy/public/build/assets/views/example/page.html.erb |
rubber_ring-0.0.1 | test/dummy/public/build/assets/views/example/page.html.erb |