Sha256: 673804efae9f49a5ed9b05d578f88f7eccd4b0eb2227efdcdb0b18c904280f56

Contents?: true

Size: 808 Bytes

Versions: 3

Compression:

Stored size: 808 Bytes

Contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= tr8n_current_language.locale %>" lang="<%= tr8n_current_language.locale %>">
<html>
<head>
  <%=render :partial => "/layouts/head" %>
  <style>
    body {
      padding:0px;
      margin:0px;
    }
  </style>
</head>
<body>

<%
   label = params[:tml_label]
   description = params[:tml_context]

   tokens = params[:tml_tokens].blank? ? "{}" : params[:tml_tokens]
   tokens = JSON.parse(tokens)

   options = params[:tml_options].blank? ? "{}" : params[:tml_options]
   options = JSON.parse(options)
%>

<div style="padding:15px;">
  <% unless params[:tml_label].blank? %>
    <%=tr(label, description, tokens, options) %>
  <% end %>
</div>

</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tr8n_client_sdk-1.1.1 test/dummy/app/views/docs/tml_content.html.erb
tr8n_client_sdk-1.1.0 test/dummy/app/views/docs/tml_content.html.erb
tr8n_client_sdk-1.0.0 test/dummy/app/views/docs/tml_content.html.erb