Organisation admin is more complete
This commit is contained in:
parent
3d39f8927a
commit
e7e6d1d6b3
@ -1,7 +1,8 @@
|
||||
ActiveAdmin.register Orga do
|
||||
permit_params :name, :url, :city, :department, :region
|
||||
permit_params :kind, :name, :url, :city, :department, :region
|
||||
|
||||
index do
|
||||
column :kind
|
||||
column :name
|
||||
column :url
|
||||
column :city
|
||||
@ -12,6 +13,7 @@ ActiveAdmin.register Orga do
|
||||
|
||||
show do |l|
|
||||
attributes_table do
|
||||
row :kind
|
||||
row :name
|
||||
row :url do
|
||||
link_to l.url, l.url
|
||||
@ -25,6 +27,7 @@ ActiveAdmin.register Orga do
|
||||
|
||||
form do |f|
|
||||
f.inputs do
|
||||
f.input :kind
|
||||
f.input :name
|
||||
f.input :url
|
||||
f.input :city
|
||||
|
Loading…
Reference in New Issue
Block a user