Skip to content

Commit

Permalink
Change function t to translations in comments/_edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Santos committed Oct 26, 2019
1 parent ed5f8b4 commit e858b75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/comments/_edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@

<p>
<span id="c<%= comment.id%>uploading" class="uploading" style="display:none;">
<%= translation('comments._edit.uploading') %>
<%= translations('comments._edit.uploading') %>
</span>
<span id="c<%= comment.id%>prompt" class="prompt">

<span style="padding-right:4px;float:left;" class="hidden-xs">
<%= raw translation('comments._edit.drag_and_drop') %>
<%= raw translations('comments._edit.drag_and_drop') %>
</span>

<label id="c<%= comment.id%>input_label" for="c<%= comment.id%>input">
<input id="c<%= comment.id%>input" type="file" name="image[photo]" style="display:none;" />
<a class="hidden-xs"><%= translation('comments._edit.choose_one') %></a>
<a class="hidden-xs"><%= translations('comments._edit.choose_one') %></a>
<span class="visible-xs">
<i class="fa fa-upload"></i>
<a><%= translation('comments._edit.upload_image') %></a>
<a><%= translations('comments._edit.upload_image') %></a>
</span>
</label>

Expand Down

0 comments on commit e858b75

Please sign in to comment.