blob: fdb54a73e607493ed2f8a220ab41c1d962a8f3a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
- content_for :title, t("phone_number_ranges.show.page_title")
%p
%strong= t('phone_number_ranges.show.name') + ":"
= t("phone_number_ranges.ranges.#{@phone_number_range}.label")
%p
%strong= t('phone_number_ranges.show.description') + ":"
= @phone_number_range.description
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @phone_number_range.phone_number_rangeable, :child => @phone_number_range }
%h2= t("phone_number_ranges.show.phone_numbers")
- if @phone_number_range.try(:phone_numbers).try(:count).to_i > 0
= render "phone_numbers/index_core", :phone_numbers => @phone_number_range.phone_numbers.order(:number)
%p
= render :partial => 'shared/create_link', :locals => {:parent => @phone_number_range, :child_class => PhoneNumber}
|