Difference between revisions of "Form:Agency"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
Line 40: Line 40:
 
  |input type=checkboxes
 
  |input type=checkboxes
 
  |property=Asset Category
 
  |property=Asset Category
 +
|show on select=Website=>has-url-section;
 +
Banner Ad=>has-image-section;
 +
Social campaign=>has-social-section;
 +
Feature=>has-feature-section;
 
}}}
 
}}}
 
+
<div id="has-url-section">
 +
== Websites ==
 
{{{field
 
{{{field
  |Assets
+
  |Websites
 
  |holds template
 
  |holds template
 
}}}
 
}}}
 +
</div>
 +
<div id="has-image-section">
 +
== Banner Ads ==
 +
{{{field
 +
|Banner Ads
 +
|holds template
 +
}}}
 +
</div>
 +
<div id="has-social-section">
 +
== Social Campaigns ==
 +
{{{field
 +
|Social Campaigns
 +
|holds template
 +
}}}
 +
</div>
 +
<div id="has-social-section">
 +
== Features ==
 +
{{{field
 +
|Features
 +
|holds template
 +
}}}
 +
</div>
 
{{{end template}}}
 
{{{end template}}}
{{{for template|Asset|multiple|embed in field=Agency[Assets]|add button text=Add Work Samples}}}
+
{{{for template|Asset|multiple|embed in field=Agency[Websites]|add button text=+ Add}}}
<p class="small">CATEGORY: </p>
 
 
{{{field
 
{{{field
 
  |Asset Category
 
  |Asset Category
  |property=Asset Category
+
  |hidden
  |input type=dropdown
+
  |default=Website
|show on select=Website=>has-url;Banner Ad=>has-image;Social campaign=>has-social;Feature=>has-feature;
 
 
}}}
 
}}}
<div id="has-url">
 
 
{{{field
 
{{{field
 
  |Has URL
 
  |Has URL
Line 63: Line 87:
 
  |placeholder=URL of the website
 
  |placeholder=URL of the website
 
}}}
 
}}}
</div>
+
<p class="small">NOTES: </p>
<div id="has-image">
+
{{{field
 +
|Has notes
 +
|input type=textarea
 +
}}}
 +
{{{end template}}}
 +
{{{for template|Asset|multiple|embed in field=Agency[Banner Ads]|add button text=+ Add}}}
 +
{{{field
 +
|Asset Category
 +
|hidden
 +
|default=Banner Ad
 +
}}}
 
{{{field
 
{{{field
 
  |Has image
 
  |Has image
 
  |input type=text
 
  |input type=text
 
  |uploadable
 
  |uploadable
  |Enter the filename or click Upload
+
  |placeholder=Enter the filename or click Upload
 +
}}}
 +
<p class="small">NOTES: </p>
 +
{{{field
 +
|Has notes
 +
|input type=textarea
 +
}}}
 +
{{{end template}}}
 +
{{{for template|Asset|multiple|embed in field=Agency[Social Campaigns]|add button text=+ Add}}}
 +
{{{field
 +
|Asset Category
 +
|hidden
 +
|default=Social campaign
 
}}}
 
}}}
</div>
 
<div id="has-social">
 
 
{{{field
 
{{{field
 
  |Social Campaign Media
 
  |Social Campaign Media
Line 78: Line 122:
 
  |input type=dropdown
 
  |input type=dropdown
 
}}}
 
}}}
</div>
+
<p class="small">NOTES: </p>
<div id="has-feature">
+
{{{field
 +
|Has notes
 +
|input type=textarea
 +
}}}
 +
{{{end template}}}
 +
{{{for template|Asset|multiple|embed in field=Agency[Features]|add button text=+ Add}}}
 +
{{{field
 +
|Asset Category
 +
|hidden
 +
|default=Feature
 +
}}}
 
{{{field
 
{{{field
 
  |Has feature
 
  |Has feature
Line 85: Line 139:
 
  |placeholder=Enter feature name
 
  |placeholder=Enter feature name
 
}}}
 
}}}
</div>
 
 
<p class="small">NOTES: </p>
 
<p class="small">NOTES: </p>
 
{{{field
 
{{{field
Line 91: Line 144:
 
  |input type=textarea
 
  |input type=textarea
 
}}}
 
}}}
 
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 23:57, September 7, 2021