Skip to content

Commit

Permalink
Update _responses.html.erb (publiclab#7525)
Browse files Browse the repository at this point in the history
No changes to be made in line 47
  • Loading branch information
robin-natale authored Feb 24, 2020
1 parent 00d0734 commit 7656b2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/notes/_responses.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
tags += '&n=17223' if response_type == 'photo'
%>
<a class='btn btn-primary btn-lg' href="/post?tags=<%= tags %>">
<%= t('notes._responses.post_' + response_type) %>
<%= translation('notes._responses.post_' + response_type) %>
</a>

Help out by offering feedback!
Expand All @@ -32,12 +32,12 @@
<%= render :partial => "comments/form", :locals => { title: 'Add feedback, suggestions, or photos
', body: 'I did this!', comment: false, placeholder: '', url1: '/conduct', author: current_user.title, is_new_contributor:current_user.is_new_contributor? } %>
<% else %>
<p><%= raw t('notes._comments.must_be_logged_in', :url1 => new_user_session_path( return_to: request.path )) %></p>
<p><%= raw translation('notes._comments.must_be_logged_in', :url1 => new_user_session_path( return_to: request.path )) %></p>
<% end %>
</div>
<hr />

<h3><%= t("notes._responses.#{response_type}s") %> (<%= @responses.length %>)</h3>
<h3><%= translation("notes._responses.#{response_type}s") %> (<%= @responses.length %>)</h3>

<% if response_type == 'response' %>
<%= render partial: "notes/notes", locals: { notes: @responses } %>
Expand Down

0 comments on commit 7656b2c

Please sign in to comment.