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

Version Path
tr8n-3.2.3 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.2.2 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.2.1 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.2.0 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.8 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.7 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.6 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.5 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.4 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.3 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.2 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.1.1 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.0.5 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.0.3 app/views/tr8n/admin/glossary/index.html.erb
tr8n-3.0.2 app/views/tr8n/admin/glossary/index.html.erb