hides edit booth button when available filter

This commit is contained in:
decabeza
2017-10-11 19:36:23 +02:00
parent 34c278db74
commit 811c348f0f
3 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,8 @@
<%= link_to t("admin.booths.booth.shifts"),
new_admin_booth_shift_path(booth),
class: "button hollow" %>
<%= link_to t("admin.actions.edit"),
<% else %>
<%= link_to t("admin.booths.booth.edit"),
edit_admin_booth_path(booth),
class: "button hollow" %>
<% end %>