Sha256: 2dc7ab90b0a21fd58ca2215b479ad735b40e58690e7d43b53131ee28b217e6e1
Contents?: true
Size: 1.87 KB
Versions: 12
Compression:
Stored size: 1.87 KB
Contents
<div class="inner"> <div class="hd"> <div style="float:right;"> <%=link_to_function(image_tag("tr8n/close.gif"), "tr8nLightbox.hide();") %> </div> Translation Key Details </div> <div class="bd"> <%= form_for(@key, :as => :translation_key, :url => {:action => :update}, :html => {:id => 'tr8n_form', :method => :post, :class => "tr8n"}) do |form| %> <%= form.hidden_field :id %> <%= hidden_field_tag :source_url, request.env['HTTP_REFERER'] %> <table class="admin_table"> <tr> <th> <%=tra("Access Key:") %> </th> <td> <%=@key.key %> </td> </tr> <tr> <th> <%=tra("Translations:") %> </th> <td> <%=@key.translations.size %> </td> </tr> <tr> <th> <%=tra("Label:") %> </th> <td> <%= form.text_field :label, :style=>"width:99%;" %> </td> </tr> <tr> <th> <%=tra("Description:") %> </th> <td> <%= form.text_field :description, :style=>"width:99%;" %> </td> </tr> </table> <div> <em>Note: changing translation key may invalidate the translations. Don't forget to change the code to reflect the new label and description. Otherwise the lookup will fail and a new key will be registered.</em> </div> <% end %> </div> <div class="ft"> <%= render :partial => "/tr8n/admin/common/lightbox_buttons" %> </div> </div>
Version data entries
12 entries across 12 versions & 1 rubygems