% route = { question_sheet_id: @page.question_sheet_id, page_id: @page.id } %>
Click an element to add it to the end of
your page (you can drag and drop fields to reorder them later). Help
- <%= link_to "Heading", fe_admin_question_sheet_page_elements_path(route.merge(element_type: "Fe::Section")),
remote: true,
method: :post %>
- <%= link_to "Paragraph", fe_admin_question_sheet_page_elements_path(route.merge(element_type: "Fe::Paragraph")),
remote: true,
method: :post %>
- <%= link_to "Short Answer", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::TextField", human_type: "Short Answer")),
remote: true %>
- <%= link_to "Long Answer", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::TextField", human_type: "Long Answer")),
remote: true %>
- <%= link_to "Choose One", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::ChoiceField", human_type: "Choose One")),
remote: true %>
- <%= link_to "Choose Many", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::ChoiceField", human_type: "Choose Many")),
remote: true %>
- <%= link_to "Date", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::DateField", human_type: "Date")),
remote: true %>
- <%= link_to "Grid", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::QuestionGrid", human_type: "Grid")),
remote: true %>
- <%= link_to "Attachment", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::AttachmentField", human_type: "Attachment")),
remote: true %>
- <%= link_to "Grid w/Total", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::QuestionGridWithTotal", human_type: "Grid w/Total")),
remote: true %>
<%#- unless Fe::Form.respond_to?(:no_refs) && Fe::Form.no_refs -%>
- <%= link_to "Reference", new_fe_admin_question_sheet_page_element_path(route.merge(element_type: "Fe::ReferenceQuestion", human_type: "Reference")),
remote: true %>
<%#- end -%>