Sha256: 674c16c4ce4df91b10f36d7deb6486d013139939656711d4eeb82bd9426dcdbf

Contents?: true

Size: 1.63 KB

Versions: 11

Compression:

Stored size: 1.63 KB

Contents

<%= tr8n_with_options_tag(:default_locale => 'en-US', :admin => true) do %>

	<%= render :partial => "/tr8n/common/header" %>
	
	<div class="section blue">
	  <%= form_tag({:action => :index}, {:method => :get, :id => "glossary_search_form"}) do %>
       <div style="float:right">
            <button type="submit" class="translator_btn translator_small_btn" onClick="Tr8n.Effects.submit('glossary_search_form'); return false;">
                <span><%=tra("Search")%></span>
            </button>
       </div>
       
      <%=text_field_tag(:search, params[:search], {:style => "width:90%;font-size:12px;height:20px"})%><br>
	  <% end %>
	</div>
	
	<div class="section">
		<%= tr8n_paginator_tag(@terms, :subject => 'term') %>	
	
	  <table style="width:100%">
	    <tr style="border-bottom:1px solid #ccc;">
	       <td style="width:20%;padding:5px;background: #f9f8f7; font-size:16px; color:grey; font-weight:bold; ">
	          <%=tra("Term", "Glossary terminology")%>
	       </td>
	       <td style="width:80%;padding:5px; font-size:16px; color:grey; font-weight:bold; " colspan="2">
	        <%=tra("Description", "Glossary terminology description") %>
	       </td>
	    </tr>  
	    <% @terms.each_with_index do |term, index| %>
	      <tr style="border-bottom:1px dotted #ccc;">
	        <td style="vertical-align:top;padding:5px;background: #f9f8f7;"><strong><%=term.keyword%></strong></td>
	        <td style="vertical-align:top;padding:5px;"><%=term.description.gsub("\n", "<br>")%></td>
	      </tr>
	    <% end %>
	  </table>
		
		<%= tr8n_paginator_tag(@terms, :subject => 'term') %>	
	</div>
	
	<%= render :partial => "/tr8n/common/footer" %>
	
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

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