From b5713fdecc475b370cc21c0f9af03303436dcfc2 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Thu, 11 Apr 2013 15:54:03 +0100 Subject: [PATCH] Stop button label text breaking across lines --- app/views/layers/show.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/layers/show.html.haml b/app/views/layers/show.html.haml index e6be036..00dbd5c 100644 --- a/app/views/layers/show.html.haml +++ b/app/views/layers/show.html.haml @@ -40,7 +40,9 @@ %td= link_to "Fetch", fetch_feed_url(s.feed), :class => "button" %td= link_to 'Edit', edit_feed_path(s.feed), :class => "button" %td= link_to 'Delete', s, :confirm => "Delete #{s.feed.title}?", :method => :delete, :class => "button" - %td= link_to 'Edit icon', edit_subscription_path(s), :class => "button" + %td + %a.button{ :href => edit_subscription_path(s) } + Edit icon %td - unless s.icon_url.blank? = image_tag s.icon_url