Parcourir la source

Add CSS button class to links

master
Adrian Short il y a 11 ans
Parent
révision
dca5d0001a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      app/views/layers/index.html.haml

+ 2
- 2
app/views/layers/index.html.haml Voir le fichier

@@ -6,5 +6,5 @@
- @layers.each do |layer|
%tr
%td= link_to layer.name, layer
%td= link_to 'Edit', edit_layer_path(layer)
%td= link_to 'Delete', layer, :method => :delete, :data => { :confirm => 'Are you sure?' }
%td= link_to 'Edit', edit_layer_path(layer), :class => 'button'
%td= link_to 'Delete', layer, :method => :delete, :data => { :confirm => 'Are you sure?' }, :class => 'button'

Chargement…
Annuler
Enregistrer