2015-01-15 10:50:08 +08:00
|
|
|
<%= form_for @poll,:remote => true do |f|%>
|
|
|
|
<div class="ur_editor ur_title_editor"> <!--编辑头部start-->
|
|
|
|
<div class="ur_title_editor_title">
|
2015-01-17 11:05:38 +08:00
|
|
|
<input type="text" maxlength="100" name="polls_name" id="polls_title" value="<%= @poll.polls_name %>" class="input_title" placeholder="问卷标题"/>
|
2015-01-15 10:50:08 +08:00
|
|
|
</div>
|
|
|
|
<div class="ur_title_editor_prefix">
|
2015-01-17 11:05:38 +08:00
|
|
|
<textarea name="polls_description" maxlength="300" id="polls_description" class="textarea_editor"><%= @poll.polls_description%></textarea>
|
2015-01-15 10:50:08 +08:00
|
|
|
</div>
|
|
|
|
<div class="ur_editor_footer">
|
2015-01-23 14:25:29 +08:00
|
|
|
<a class="btn_submit" data-button="ok" onclick="pollsSubmit($(this));">确定</a>
|
2015-01-15 10:50:08 +08:00
|
|
|
<a class="btn_cancel" data-button="cancel" onclick="pollsCancel();">取消</a>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div><!--编辑头部 end-->
|
|
|
|
<% end%>
|