fix a small bug

This commit is contained in:
Harry Bomrah 2014-10-02 20:05:12 +08:00
parent 8f464a960d
commit 513a0fdbd4
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
<%= link_to writing_conference.paper_title, OrbitHelper.url_to_plugin_show(writing_conference.to_param,'personal_conference'), target: "blank"%>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), '/admin/members/'+writing_conference.member_profile.to_param+'/writing_conferences/'+writing_conference.id+'/edit' %></li>
<li><%= link_to t(:delete_), admin_writing_conference_path(id: writing_conference.id, member_profile_id: writing_conference.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
<li><%= link_to t('edit'), edit_admin_writing_conference_path(writing_conference) %></li>
<li><%= link_to t(:delete_), admin_writing_conference_path(id: writing_conference.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
</ul>
</div>
</td>