Skip to content

Commit

Permalink
fix type translations to translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Santos committed Oct 25, 2019
1 parent c0c2f7e commit ed5f8b4
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;">
<%= translations('comments._edit.uploading') %>
<%= translation('comments._edit.uploading') %>
</span>
<span id="c<%= comment.id%>prompt" class="prompt">

<span style="padding-right:4px;float:left;" class="hidden-xs">
<%= raw translations('comments._edit.drag_and_drop') %>
<%= raw translation('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"><%= translations('comments._edit.choose_one') %></a>
<a class="hidden-xs"><%= translation('comments._edit.choose_one') %></a>
<span class="visible-xs">
<i class="fa fa-upload"></i>
<a><%= translations('comments._edit.upload_image') %></a>
<a><%= translation('comments._edit.upload_image') %></a>
</span>
</label>

Expand Down

0 comments on commit ed5f8b4

Please sign in to comment.