Remove obsolete text when there's no dagschotel

This commit is contained in:
tl3ilaxu 2016-03-02 18:56:27 +01:00
parent d99304b065
commit 67c07d50b8
1 changed files with 2 additions and 2 deletions

View File

@ -15,9 +15,9 @@
-# - if can? :create, @user.orders.build
%li.list-group-item
= link_to "Place new order", new_user_order_path(@user), class: "btn btn-default btn-block"
%p.center
%b or
- if @user.dagschotel
%p.center
%b or
= link_to quickpay_user_path(@user), remote: true, data: { quickpay: true, type: "json" }, class: "btn btn-default btn-block" do
%p.center Order dagschotel
= image_tag @user.dagschotel.avatar, title: "Huidige dagschotel"