25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
<%= form_for PollQuestion.new,:url =>create_poll_question_poll_path(@poll.id),:remote => true do |f|%>
|
|
<div class="ur_editor textarea"> <!--编辑多行文字start-->
|
|
<div class="ur_editor_title">
|
|
<label for="ur_question_title">问题: </label>
|
|
<input type="hidden" name="question_type" value="4"/>
|
|
<input maxlength="250" id="poll_questions_title" class="ur_question_title" contenteditable="true" type="text" name="poll_questions_title" placeholder="请输入多行主观标题"/>
|
|
<input type="checkbox" name="is_necessary" value="true" checked/>
|
|
<label>必答</label>
|
|
</div>
|
|
<div class="ur_editor_toolbar">
|
|
<!--<label>尺寸:</label>-->
|
|
<!--<label>宽 <input name="cols" type="number" min="1" value="60"> 字</label>,-->
|
|
<!--<label>高 <input name="rows" type="number" min="1" value="5"> 行</label>-->
|
|
</div>
|
|
<div class="ur_editor_footer">
|
|
<a class="btn_submit" data-button="ok" onclick="$(this).parent().parent().parent().submit();">
|
|
<%= l(:label_button_ok)%>
|
|
</a>
|
|
<a class="btn_cancel" data-button="cancel" onclick="$(this).parent().parent().parent().remove();">
|
|
<%= l(:button_cancel)%>
|
|
</a>
|
|
</div>
|
|
<div class="cl"></div>
|
|
</div><!--编辑多行文字end-->
|
|
<% end%> |