aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-05-14 14:51:20 +0100
committerGareth Rees <gareth@mysociety.org>2015-06-04 13:51:16 +0100
commit794cae83252a9a739d80acb6533cbf39d5791496 (patch)
treee6c922fcfb067cb71b6e16fd7dac7436adaf13c9
parent98e1fd244cc145d7ad19af48d48b7287e3ba2c58 (diff)
Indentation tidy
-rw-r--r--app/views/public_body/show.html.erb21
1 files changed, 11 insertions, 10 deletions
diff --git a/app/views/public_body/show.html.erb b/app/views/public_body/show.html.erb
index 931c85f64..eda85b443 100644
--- a/app/views/public_body/show.html.erb
+++ b/app/views/public_body/show.html.erb
@@ -57,18 +57,19 @@
<div class="action-bar__make-request">
<% if @public_body.is_requestable? || @public_body.not_requestable_reason == 'bad_contact' %>
<%= link_to _("Make a request to this authority"), new_request_to_body_path(:url_name => @public_body.url_name), :class => "link_button_green" %>
- <% end %>
+ <% end %>
</div>
+
<div class="action-bar__follow">
- <div class="action-bar__follow-button">
- <% if @existing_track %>
- <%= (link_to _("Unsubscribe"), {:controller => 'track', :action => 'update', :track_id => @existing_track.id, :track_medium => "delete", :r => request.fullpath}, :class => "link_button_green") %>
- <% else %>
- <div class="feed_link">
- <%= link_to _("Follow"), do_track_path(@track_thing), :class => "link_button_green" %>
- </div>
- <% end %>
- </div>
+ <div class="action-bar__follow-button">
+ <% if @existing_track %>
+ <%= link_to _("Unsubscribe"), {:controller => 'track', :action => 'update', :track_id => @existing_track.id, :track_medium => "delete", :r => request.fullpath}, :class => "link_button_green" %>
+ <% else %>
+ <div class="feed_link">
+ <%= link_to _("Follow"), do_track_path(@track_thing), :class => "link_button_green" %>
+ </div>
+ <% end %>
+ </div>
<div class="action-bar__follower-count">
<%= n_("{{count}} follower",