public
Description: cutting edge cms, blog, wiki, forum ...
Homepage: http://artweb-design.lighthouseapp.com/projects/13992-adva_cms/overview
Clone URL: git://github.com/svenfuchs/adva_cms.git
don't display edit link for #new
TomK32 (author)
Sun Jul 13 15:03:14 -0700 2008
svenfuchs (committer)
Mon Jul 14 04:34:33 -0700 2008
commit  92c6fe1ce6214f1a7c5eaef546e4536edcc5890e
tree    6cd1dc555398bfb43997aeab43751ee0b60cf795
parent  6e5852481bae786088d1261d1222f0acbb17d02c
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 <% content_for :action_nav do %>
0
   <ul id="action_nav" class="menu clearing">
0
     <li><%= link_to "Add user", new_member_path %></li>
0
- <% if @user %>
0
+ <% if @user and ! @user.new_record? %>
0
       <li><%= link_to "Edit user", edit_member_path %></li>
0
     <% end %>
0
   </ul>

Comments

    No one has commented yet.