Sha256: b969247d0fae533768d420fc65c1b8f02a8a302e6635f4fc734f13c1b7627680
Contents?: true
Size: 866 Bytes
Versions: 15
Compression:
Stored size: 866 Bytes
Contents
<%= render :partial => "/tr8n/admin/common/header" %> <div class="section_title"> Glossary </div> <%= tr8n_will_filter(@terms) %> <%=link_to_function("+ Add glossary term", "tr8nLightbox.show('/tr8n/admin/glossary/lb_update', {height:450})") %> <%= form_tag("", :id => "terms_form") do %> <%= will_filter_table_tag(@terms, :columns => [:keyword, :description, :updated_at, [:actions, lambda{|term| actions = [] actions << link_to_function("Update", "tr8nLightbox.show('/tr8n/admin/glossary/lb_update?glossary_id=#{term.id}', {height:450})") actions << link_to("Delete", {:action => :delete, :glossary_id => term.id}, {:confirm => "Are you sure you want to delete this glossary term?"}) actions.join(" | ").html_safe }, 'white-space: nowrap'] ]) %> <% end %> <%= render :partial => "/tr8n/admin/common/footer" %>
Version data entries
15 entries across 15 versions & 1 rubygems