12 lines
456 B
Text
12 lines
456 B
Text
<h2><%= l(:label_message_new) %></h2>
|
|
|
|
<%= form_for @question_item, { :url => questions_path, :html => {:multipart => true,
|
|
:id => 'question_form'}} do |f| %>
|
|
<div id="all_attributes">
|
|
<%= render :partial => 'form', :locals => {:f => f} %>
|
|
</div>
|
|
<%= submit_tag l(:button_create) %>
|
|
<% preview_link({:controller => 'questions', :action => 'preview', :id => @question_item}, 'question_form') %>
|
|
<% end %>
|
|
|
|
<div id="preview" class="wiki"></div>
|