summaryrefslogtreecommitdiff
path: root/app/views/manufacturers/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/manufacturers/show.html.haml')
-rw-r--r--app/views/manufacturers/show.html.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/manufacturers/show.html.haml b/app/views/manufacturers/show.html.haml
new file mode 100644
index 0000000..1b8383b
--- /dev/null
+++ b/app/views/manufacturers/show.html.haml
@@ -0,0 +1,18 @@
+- title t("manufacturers.show.page_title")
+
+%p
+ %strong= t('manufacturers.show.name') + ":"
+ = @manufacturer.name
+%p
+ %strong= t('manufacturers.show.ieee_name') + ":"
+ = @manufacturer.ieee_name
+%p
+ %strong= t('manufacturers.show.homepage_url') + ":"
+ - if @manufacturer.homepage_url
+ =link_to @manufacturer.homepage_url, @manufacturer.homepage_url
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @manufacturer }
+
+%h2=t("phone_models.index.page_title")
+
+=render 'phone_models/index_core', :phone_models => @manufacturer.phone_models \ No newline at end of file