Skip to content

Commit

Permalink
Merge pull request #145 from portagenetwork/issue137
Browse files Browse the repository at this point in the history
Move the <p> tag out
  • Loading branch information
portagenetwork authored Feb 25, 2022
2 parents 4f67414 + 1ef223c commit 6922f41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/plans/_request_feedback_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<div class="col-xs-12">
<% if plan.owner_and_coowners.include?(current_user) && plan.owner.org.feedback_enabled? %>
<h2><%= _('Request expert feedback') %></h2>
<p>
<%=
_("<p>Click below to give data management staff at %{owner_org}, the Plan Owner's org, access to read and comment on your plan.</p>") % {
_("Click below to give data management staff at %{owner_org}, the Plan Owner's org, access to read and comment on your plan.") % {
owner_org: plan.owner.org.name,
}
%>
</p>
<div class="well well-sm">
<%= sanitize plan.owner.org.feedback_msg.to_s % { user_name: current_user.name(false), plan_name: plan.title, organisation_email: current_user.org.contact_email } %>
</div>
Expand Down

0 comments on commit 6922f41

Please sign in to comment.