socialforge/app/views/article_homepages/new.html.erb

18 lines
671 B
Plaintext

<div class="homepageContentContainer">
<div class="homepageMainContent">
<div class="homepagePostContainer mb10">
<%= labelled_form_for @article, :url =>{:controller=>'article_homepages',:action => 'create'},
:html => {:nhname=>'form',:multipart => true, :id => 'message-form'} do |f| %>
<%= render :partial => 'article_form', :locals => {:is_edit => false, :f => f} %>
<% end %>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
setTimeout(function(){
elocalStorage(message_content_editor,'article_homepage_<%=User.current.id %>');
}, 10000);
});
</script>