We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02efd22 commit 9140307Copy full SHA for 9140307
app/views/card_grants/_details.html.erb
@@ -76,10 +76,10 @@
76
<span>All categories allowed</span>
77
<% end %>
78
</p>
79
- <% if @card_grant.purpose.present? %>
+ <% if card_grant.purpose.present? %>
80
<p>
81
<strong>Purpose</strong>
82
- <span><%= @card_grant.purpose %></span>
+ <span><%= card_grant.purpose %></span>
83
84
85
<% if card_grant.keyword_lock.present? %>
@@ -92,7 +92,7 @@
92
<% if card_grant.pending_invite? %>
93
<%# Once the user has accepted the invite, these action buttons are shown elsewhere %>
94
<section>
95
- <%= render partial: "actions", locals: { card_grant: @card_grant } %>
+ <%= render partial: "actions", locals: { card_grant: } %>
96
</section>
97
98
</div>
0 commit comments