Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
seda
Commits
116036b73955
Commit
c42a1446
authored
Jun 09, 2016
by
Sylvain Thénault
Browse files
[ui] Use simple input, not textarea, for agent's name
parent
d1400cd1e233
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/__init__.py
View file @
116036b7
...
...
@@ -18,6 +18,7 @@ from yams import BASE_TYPES
from
cubicweb
import
tags
,
neg_role
from
cubicweb.utils
import
UStringIO
from
cubicweb.web
import
formwidgets
as
fw
# XXX alias to avoid side effect: uicfg will become our uicfg submodule. Not necessary with 3.23?
from
cubicweb.web.views
import
uicfg
as
cwuicfg
...
...
@@ -27,11 +28,13 @@ _ = unicode
pvs
=
cwuicfg
.
primaryview_section
afs
=
cwuicfg
.
autoform_section
affk
=
cwuicfg
.
autoform_field_kwargs
rec
=
cwuicfg
.
reledit_ctrl
pvs
.
tag_subject_of
((
'*'
,
'container'
,
'*'
),
'hidden'
)
pvs
.
tag_object_of
((
'*'
,
'container'
,
'*'
),
'hidden'
)
afs
.
tag_subject_of
((
'*'
,
'container'
,
'*'
),
'main'
,
'hidden'
)
afs
.
tag_object_of
((
'*'
,
'container'
,
'*'
),
'main'
,
'hidden'
)
affk
.
tag_attribute
((
'Agent'
,
'name'
),
{
'widget'
:
fw
.
TextInput
({
'size'
:
80
})})
def
rtags_from_xsd_element
(
etype
,
element_name
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment