From 01ab6dd5d51e3bda7e885fb0565e99ef65bc6e77 Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Sat, 5 Nov 2011 15:44:00 -0700 Subject: [PATCH] ad name to SRV forms (fix - was missing) --- app/controllers/srvs_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/srvs_controller.rb b/app/controllers/srvs_controller.rb index 87ad798..849ddd9 100644 --- a/app/controllers/srvs_controller.rb +++ b/app/controllers/srvs_controller.rb @@ -2,8 +2,8 @@ class SrvsController < ApplicationController active_scaffold :srv do |conf| conf.columns = [:name, :type, :content, :weight, :port, :host, :ttl, :prio, :change_date, :authentication_token] conf.columns = [:name, :type, :content, :ttl, :prio, :change_date, :authentication_token] - conf.create.columns = [:weight, :host, :port, :ttl, :prio] - conf.update.columns = [:weight, :host, :port, :ttl, :prio] + conf.create.columns = [:name, :weight, :host, :port, :ttl, :prio] + conf.update.columns = [:name, :weight, :host, :port, :ttl, :prio] conf.columns[:content].description = 'Ex. "_http._tcp.example.com"' conf.columns[:change_date].list_ui = :timestamp conf.columns[:ttl].options = {:i18n_number => {:delimiter => ''}}