[logaling-commit] logaling/logaling-server [master] Add link to form for copy

Zurück zum Archiv-Index

SUZUKI Miho null+****@clear*****
Fri Sep 28 13:15:05 JST 2012


SUZUKI Miho	2012-09-28 13:15:05 +0900 (Fri, 28 Sep 2012)

  New Revision: d7924696f6dc93c2256b324d714fb4055329d120
  https://github.com/logaling/logaling-server/commit/d7924696f6dc93c2256b324d714fb4055329d120

  Merged 92895a5: Merge pull request #21 from logaling/enable-copy-user-glossary

  Log:
    Add link to form for copy

  Modified files:
    app/views/dashboard/show.html.haml

  Modified: app/views/dashboard/show.html.haml (+1 -4)
===================================================================
--- app/views/dashboard/show.html.haml    2012-09-28 11:05:33 +0900 (de6b9fc)
+++ app/views/dashboard/show.html.haml    2012-09-28 13:15:05 +0900 (27db729)
@@ -20,10 +20,7 @@
             %label{ :for => "commit_#{user_glossary.id}" }
               %i{ :class => 'icon-star' }
             = f.submit '', :class => 'hidden', :id => "commit_#{user_glossary.id}"
-          %a.btn.btn-mini{ :href => '#', :title => '編集する' }
-            %i.icon-pencil
-          %a.btn.btn-mini{ :href => '#', :title => '複製する' }
-            %i.icon-plus
+          = link_to raw("<i class=icon-file></i>"), new_user_glossary_path(current_user), :class => 'btn btn-mini'
           = link_to raw("<i class=icon-trash></i>"), user_glossary_path(current_user, user_glossary), method: :delete, :class => 'btn btn-mini'
 
   %h2
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index