socialforge/app/views/memos/_topic_form.html.erb

16 lines
763 B
Plaintext
Raw Normal View History

2013-11-23 20:56:22 +08:00
<%= labelled_form_for(@memo, :url => forum_memos_path) do |f| %>
<div class="actions" style="max-width:680px">
<%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
2013-11-29 18:14:49 +08:00
<p><%= f.text_field :subject, :required => true, :size => 95 %></p>
<p style="max-width:680px"><%= f.kindeditor :content, :required => true %></p>
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
2013-11-26 16:32:08 +08:00
<br/>
<p>
2013-11-29 18:14:49 +08:00
<%= l(:label_attachment_plural) %><br />
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
</p>
<%= f.submit :value => l(:label_memo_create) %> <%= link_to l(:button_back), forum_path(@forum) %>
2013-11-23 20:56:22 +08:00
</div>
<% end %>