Hide Delete and Edit from frontend
This commit is contained in:
parent
e8483bf4c5
commit
802ebbcdbe
|
@ -12,7 +12,9 @@
|
|||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%if user_signed_in? && is_manager?%>
|
||||
<div class="modal-footer">
|
||||
<%= link_to t(:delete_), panel_calendar_new_back_end_event_path(@event),:class => "btn bt-del", :method => :delete, :remote => true %>
|
||||
<%= link_to t(:edit), edit_panel_calendar_new_back_end_event_path(@event),:class => "btn btn-primary",:id=>"edit_event_btn" ,:remote => true %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue