app/helpers/alchemy/admin/contents_helper.rb in alchemy_cms-2.2.4 vs app/helpers/alchemy/admin/contents_helper.rb in alchemy_cms-2.3.rc5
- old
+ new
@@ -39,11 +39,11 @@
def render_new_content_link(element)
link_to_overlay_window(
render_icon(:create) + t('add new content'),
alchemy.new_admin_element_content_path(element),
{
- :size => '335x70',
+ :size => '310x115',
:title => t('Select an content'),
:overflow => true
},
{
:id => "add_content_for_element_#{element.id}",
@@ -88,10 +88,10 @@
:options => options_for_content.to_json
),
:method => :post,
:remote => true,
:id => "add_content_for_element_#{element.id}",
- :class => 'button new_content_link'
+ :class => 'button with_icon new_content_link'
)
end
# Renders a link for removing that content
def delete_content_link(content)