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

18 lines
677 B
Plaintext

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