This repository was archived by the owner on Dec 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 11< div class ='wym_skin_refinery page_part ' id ='page_snippet_picker ' style ="padding: 5px; ">
2- <%= render :partial => '/admin/pages/tabs/snippets_bar' , :locals => { :f => f } %>
3- <%= render :partial => '/admin/pages/tabs/snippets_field' , :locals => { :f => f } %>
2+ <%= render :partial => '/admin/pages/tabs/snippets_content' , :locals => { :f => f } %>
43</ div >
54
65<% content_for :javascripts do %>
Original file line number Diff line number Diff line change 1+ <%= render :partial => '/admin/pages/tabs/snippets_bar', :locals => {:f => f} %>
2+ <%= render :partial => '/admin/pages/tabs/snippets_field', :locals => {:f => f} %>
Original file line number Diff line number Diff line change 33 :object => @snippet,
44 :include_object_name => true
55 } %>
6-
7- <%= render :partial => "locale_picker",
8- :locals => {
9- :current_locale => Thread.current[:globalize_locale]
10- } if defined?(::Refinery::I18n) %>
116
127 <div class ='field '>
138 <%= f . label :title -%>
149 <%= f . text_field :title , :class => 'larger widest' -%>
1510 </ div >
11+
12+ <%= render :partial => "locale_picker" ,
13+ :locals => {
14+ :current_locale => Thread . current [ :globalize_locale ]
15+ } if defined? ( ::Refinery ::I18n ) %>
1616
1717 < div class ='field '>
1818 < div id ='page-tabs ' class ='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all '>
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ Snippets allows you to relate one or more html blocks to any page in Refinery.
1515* Documentation
1616* Tests
1717
18+ ### to 2.0
19+ * custom attributes for snippet (id, classes etc)
20+ * support for dynamic snippets (erb templates, forms etc)
21+ * improve UI
22+
1823## Install
1924
2025Add this line to your applications ` Gemfile `
@@ -41,3 +46,8 @@ Next run
4146 <% end %>
4247 <% end %>
4348 <%= render :partial => "/shared/content_page" %>
49+
50+ ## Donate
51+
52+ Feel free buy me some gift ;-)
53+ http://www.amazon.com/gp/registry/wishlist/1BBMUW9DDYXFF
You can’t perform that action at this time.
0 commit comments