From a248db30eb469f1fd99508df0cfbf47c4ad80b8c Mon Sep 17 00:00:00 2001 From: spag Date: Tue, 15 Jan 2013 14:00:19 +0100 Subject: display id --- app/views/gateways/show.html.haml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/gateways/show.html.haml b/app/views/gateways/show.html.haml index ebf75a5..a9b0d18 100644 --- a/app/views/gateways/show.html.haml +++ b/app/views/gateways/show.html.haml @@ -1,5 +1,8 @@ - title t("gateways.show.page_title") +%p + %strong= t('gateways.show.id') + ":" + = @gateway.id %p %strong= t('gateways.show.name') + ":" = @gateway.name @@ -19,14 +22,14 @@ = render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway } -%h2= t('gateway_settings.index.page_title') +%h3= t('gateway_settings.index.page_title') - if @gateway.gateway_settings.any? = render "gateway_settings/index_core", :gateway_settings => @gateway.gateway_settings %br = render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewaySetting } - if @gateway.gateway_parameters.any? - %h2= t('gateway_parameters.index.page_title') + %h3= t('gateway_parameters.index.page_title') = render "gateway_parameters/index_core", :gateway_parameters => @gateway.gateway_parameters %br = render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewayParameter } -- cgit v1.2.3