summaryrefslogtreecommitdiff
path: root/app/views/phones/new.html.haml
blob: ae0a5394b7fc59d0f221b4387da2af5316450dda (plain)
1
2
3
4
5
6
7
8
9
- title t("phones.new.page_title")

- if !@fallback_sip_accounts.any? && can?(:create, current_user.current_tenant.sip_accounts.build)
  %p
    = t("phones.new.you_need_to_have_at_least_one_available_fallback_sip_account_for_hotdesking")
    = link_to t("sip_accounts.index.actions.create_for", :resource => current_user.current_tenant), new_tenant_sip_account_path(current_user.current_tenant)

= render "form"