Browse Source

ad name to SRV forms (fix - was missing)

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
01ab6dd5d5
  1. 4
      app/controllers/srvs_controller.rb

4
app/controllers/srvs_controller.rb

@ -2,8 +2,8 @@ class SrvsController < ApplicationController
active_scaffold :srv do |conf| active_scaffold :srv do |conf|
conf.columns = [:name, :type, :content, :weight, :port, :host, :ttl, :prio, :change_date, :authentication_token] 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.columns = [:name, :type, :content, :ttl, :prio, :change_date, :authentication_token]
conf.create.columns = [:weight, :host, :port, :ttl, :prio] conf.create.columns = [:name, :weight, :host, :port, :ttl, :prio]
conf.update.columns = [: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[:content].description = 'Ex. "_http._tcp.example.com"'
conf.columns[:change_date].list_ui = :timestamp conf.columns[:change_date].list_ui = :timestamp
conf.columns[:ttl].options = {:i18n_number => {:delimiter => ''}} conf.columns[:ttl].options = {:i18n_number => {:delimiter => ''}}

Loading…
Cancel
Save