Skip to content

Commit

Permalink
changed forms
Browse files Browse the repository at this point in the history
  • Loading branch information
radutopala committed Feb 3, 2012
1 parent 9f62c03 commit b394958
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/modules/forms/config/fieldSets.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<i:view xmlns:i="http://www.appflower.com/schema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="edit" xsi:schemaLocation="http://www.appflower.com/schema/appflower.xsd">
<i:title><![CDATA[Add / Edit]]></i:title>
<i:title><![CDATA[Form with FieldSets]]></i:title>
<i:datasource type="orm">
<i:class>productPeer</i:class>
<i:method name="retrieveByPk">
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/modules/forms/config/tabs.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<i:view xmlns:i="http://www.appflower.com/schema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="edit" xsi:schemaLocation="http://www.appflower.com/schema/appflower.xsd">
<i:title><![CDATA[Add / Edit]]></i:title>
<i:title><![CDATA[Form with Tabs]]></i:title>
<i:datasource type="orm">
<i:class>productPeer</i:class>
<i:method name="retrieveByPk">
Expand Down
10 changes: 3 additions & 7 deletions apps/frontend/modules/forms/config/upload.xml 100644 → 100755
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<i:view xmlns:i="http://www.appflower.com/schema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="edit" xsi:schemaLocation="http://www.appflower.com/schema/appflower.xsd">
<i:title><![CDATA[Add / Edit]]></i:title>
<i:title><![CDATA[File Upload]]></i:title>
<i:datasource type="orm">
<i:class>productPeer</i:class>
<i:method name="retrieveByPk">
Expand Down Expand Up @@ -41,17 +41,13 @@
<i:field label="Image" name="image" type="file">
</i:field>
</i:fields>
<i:description><![CDATA[This is an example of form field grouping. The form implements two field-sets, and renders them as tabs.
This allows easy navigation and makes the form well organized. This also an example of file uploads (see the second tab). <br><a href="/studio#widget#frontend/forms/upload" target="_blank">Open in Studio</a>]]></i:description>
<i:description><![CDATA[This is an example of file uploading. <br><a href="/studio#widget#frontend/forms/upload" target="_blank">Open in Studio</a>]]></i:description>

<i:grouping>
<i:set title="Product Information" tabtitle="Product Information">
<i:set title="Product Information">
<i:ref to="name"/>
<i:ref to="price"/>
<i:ref to="quantity"/>
</i:set>

<i:set title="Product Image" tabtitle="Product Image">
<i:ref to="static_image"/>
<i:ref to="image"/>
</i:set>
Expand Down

0 comments on commit b394958

Please sign in to comment.