Sha256: eb588ebe4605c42655e78f7a76cbf20e78f7604453ac86935356b66adee7d803
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
<li class="element" id="element_<%= element.id %>"> <div class="controls"> <ul> <li><%= link_to "edit", edit_fe_admin_question_sheet_page_element_path(@page.question_sheet.id, @page.id, element.id), :remote => true, :method => :get, :class => "edit", :title => "Edit this element" %></li> <% if in_grid -%> <li><%= link_to("remove", remove_from_grid_fe_admin_question_sheet_page_element_path(@page.question_sheet.id, @page.id, element.id), :remote => true, :class => "remove", :title => "remove" )%></li> <% end -%> <li><%= link_to "duplicate", duplicate_fe_admin_question_sheet_page_element_path(@page.question_sheet.id, @page.id, element.id), :remote => true, :method => :post, :class => "duplicate", :title => "Duplicate this element" %></li> <li><%= link_to('Delete', fe_admin_question_sheet_page_element_path( @page.question_sheet_id, @page.id, element.id), :remote => true, :method => :delete, :class => "delete", data: {confirm: "Are you sure you want to remove this element from this form?"}, :title => "Permanently delete this item") %></li> <li><a href="#" class="handle" title="Reorder this element">drag</a></li> </ul> </div> <div class="q" id="element_<%= dom_id(element) %>"> <%= render 'fe/admin/question_pages/element_show', :element => element %> </div> <div class="q q_form" id="element_form_<%= dom_id(element) %>"> </div> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fe-0.0.4 | app/views/fe/admin/question_pages/_element.html.erb |