Skip to content

Commit fc5f836

Browse files
Address erb-lint issues
1 parent 53e1324 commit fc5f836

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/views/subscriptions/index.html.erb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,28 +63,28 @@
6363
<% end %>
6464
</dt>
6565
<dd>
66-
<%= form_for [current_user, subscription], :html => {:method => :delete} do |f| %>
66+
<%= form_for [current_user, subscription], :html => { :method => :delete } do |f| %>
6767
<%= f.submit t(".button_html", name: subscription.name) %>
6868
<% end %>
6969
</dd>
7070
<% elsif subscription.subscribable && subscription.subscribable.try(:unrevealed?) %>
7171
<dt>
7272
<div class="mystery header module">
73-
<h4 class="heading"><%= ts("Mystery Work") %></h4>
73+
<h4 class="heading"><%= t(".mystery_work") %></h4>
7474
</div>
75-
<h6 class="landmark heading"><%= ts("Summary") %></h6>
75+
<h6 class="landmark heading"><%= t(".summary") %></h6>
7676
</dt>
7777
<dd>
78-
<%= form_for [current_user, subscription], :html => {:method => :delete} do |f| %>
79-
<%= f.submit t(".button_html", name: ts("Mystery Work")) %>
78+
<%= form_for [current_user, subscription], :html => { :method => :delete } do |f| %>
79+
<%= f.submit t(".button_html", name: t(".mystery_work")) %>
8080
<% end %>
8181
</dd>
8282
<% else %>
8383
<dt>
8484
<%= subscription.name %>
8585
</dt>
8686
<dd>
87-
<%= form_for [current_user, subscription], :html => {:method => :delete} do |f| %>
87+
<%= form_for [current_user, subscription], :html => { :method => :delete } do |f| %>
8888
<%= f.submit t(".button_html", name: subscription.name) %>
8989
<% end %>
9090
</dd>
@@ -94,4 +94,4 @@
9494
</dl>
9595

9696
<%= will_paginate @subscriptions %>
97-
<!--/content-->
97+
<!--/content-->

0 commit comments

Comments
 (0)