Sha256: ba5f075f257133353e35d6efa5e8460b7c5547b83218eff4ea2473382e347add

Contents?: true

Size: 1.36 KB

Versions: 12

Compression:

Stored size: 1.36 KB

Contents

<div class="section grey">
  <%= form_tag({:action => :submit_comment}, {:method => :post, :id => "translation_key_comments_form"}) do %>
    <%= hidden_field_tag(:translation_key_id, @translation_key.id)%>
    <%= hidden_field_tag(:section_key, @section_key) %>
    
    <table style="width:99%">
      <tr>
        <td style="width:80px; text-align:right; padding-right:10px; font-weight:bold;">
          <%=tra("Your Comment:") %>
        </td>
        <td>
          <%=text_area_tag(:message, "", :class => "keyboardInput", :style=>"width:99%; height:70px")%>
        </td>
      </tr>
      <tr>
        <td></td>
        <td style="color:grey; font-size:12px; padding-top:10px; padding-bottom:10px;">
           <%=tra("Leave your comments here if you would like to discuss translations for this particular phrase.")%>
           <%=tra("If you would like to discuss translations in general, leave your comments in the [link: language forum].", "", :link => lambda{|value| link_to(value, "/tr8n/forum")})%>
        </td>
      </tr>
    </table>
    
    <div style="padding-top:20px; padding-bottom:10px;text-align:center">
        <button type="submit" class="translator_btn translator_submit_btn" onClick="Tr8n.Effects.submit('translation_key_comments_form'); return false;">
            <span><%=tra("Submit Comment")%></span>
        </button>
    </div>
  <% end %>
  
</div>  

Version data entries

12 entries across 12 versions & 1 rubygems

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