2015-03-24 09:51:42 +08:00
|
|
|
|
<li class="ml45">
|
|
|
|
|
<label><span class="c_red">*</span> <%= l(:field_title) %> :</label>
|
|
|
|
|
<input type="text" name="news[title]" class="hwork_input" id="news_title" size="60" onkeyup="regexTitle();" maxlength="60" placeholder="60个字符以内">
|
|
|
|
|
</li>
|
|
|
|
|
<li class="ml45">
|
|
|
|
|
<label class="fl" ><span class="c_red">*</span> <%= l(:field_description) %> :</label>
|
|
|
|
|
<textarea id="news_description" name="news[description]" placeholder="最多3000个汉字(或6000个英文字符)" class="hwork_text fl" onkeyup="regexDescription();" ></textarea>
|
|
|
|
|
</li>
|
|
|
|
|
<div class="cl"></div>
|
2014-12-30 14:52:44 +08:00
|
|
|
|
<p id="attachments_form" style="margin-left:-10px;">
|
|
|
|
|
<label style="padding-right: 15px;">
|
|
|
|
|
<%= l(:label_attachment_plural) %>
|
|
|
|
|
</label>
|
|
|
|
|
<%= render :partial => 'attachments/form', :locals => {:container => @news} %>
|
|
|
|
|
</p>
|
2014-06-12 09:20:39 +08:00
|
|
|
|
|
2015-03-24 09:51:42 +08:00
|
|
|
|
<!-- <#%= wikitoolbar_for 'news_description'%>-->
|