add new member with role interface. add more not usable.
role management new attribute is ok. delete is ok.
This commit is contained in:
1 parent
fe0e49c3e9
commit
beb843f75b
25 files changed
+1159
-512
No files matched your search
@@ -0,0 +1,16 @@
|
||||
module Admin::AttributeValuesViewHelper
|
||||
OPT = [
|
||||
["YYYY / MM / DD hh : mm","format1"],
|
||||
["YYYY / MM / DD","format2"],
|
||||
["YYYY / MM","format3"],
|
||||
["YYYY","format4"]
|
||||
]
|
||||
def show_type_panel(attribute_field,type)
|
||||
markup = attribute_field.markup
|
||||
LIST[:markups][markup]["panel"] == type ? type : [type,'hide'].join(" ")
|
||||
end
|
||||
|
||||
def name_to_id(str)
|
||||
str.gsub(/\]/,'').gsub(/\[/,"_")
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user