<%= content_for :javascript do %> $('#news_sidebar img.tooltip_news_item').qtip({ content: '<%= escape_javascript(t("tooltip.news_item")) %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('#news_sidebar img.tooltip_advanced_editor_news').qtip({ content: '<%= escape_javascript(t("tooltip.advanced_editor")) %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); <%end%>

<%= t('news.publish_home') %> <%=image_tag("icons/help.png",:title=>"",:size=>"16x16",:class=>"tooltip_news_item icon",:style=>"cursor:pointer")%>

<%= form_for(News.new, :url => space_news_index_path(@space)) do |f| %>

<%= f.text_field :title, :class => "small_news_title" %>


<%= f.text_area :text, :class => "small_news_text"%>
<%=image_tag("icons/help.png",:title=>"",:size=>"16x16",:class=>"tooltip_advanced_editor_news icon",:style=>"cursor:pointer")%> <%=link_to t('advanced_editor'), new_space_news_path(@space), :id => "big_new_news", :class => "extract_form" %> <% end %>