Explorar el Código

Deleted the back button and moved the edit button to the top

master
CharlotteGilhooly hace 12 años
padre
commit
b4a58d6a5b
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. +5
    -4
      app/views/feeds/show.html.haml

+ 5
- 4
app/views/feeds/show.html.haml Ver fichero

@@ -5,11 +5,15 @@
%p
= link_to "Fetch", fetch_feed_url(@feed), :class => "button"
 
%a.button{ :href => "http://validator.w3.org/appc/check.cgi?url=#{@feed.feed_url}"}
%a.button{ :href => "http://validator.w3.org/appc/check.cgi?url=#{@feed.feed_url}"}<
Validate
&nbsp;
= link_to 'Edit', edit_feed_path(@feed), :class => "button"

%p
= pluralize(@feed.posts.count, "post")

%p
= link_to @feed.feed_url, @feed.feed_url

%p
@@ -29,6 +33,3 @@
- unless p.published.nil?
= p.published.strftime("%d %b %Y %H:%M")

= link_to 'Edit', edit_feed_path(@feed)
\|
= link_to 'Back', :root

Cargando…
Cancelar
Guardar