Difference between revisions of "Form:Agency"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
Line 36: Line 36:
 
  |input type=textarea
 
  |input type=textarea
 
}}}
 
}}}
<p class="small">TYPE OF WORKS: </p>
+
 
 
{{{field
 
{{{field
  |Asset Categories
+
  |Assets
|input type=checkboxes
 
|property=Asset Category
 
|show on select=Website=>has-url-section;
 
Banner Ad=>has-image-section;
 
Social campaign=>has-social-section;
 
Feature=>has-feature-section;
 
|list
 
|delimiter=;
 
}}}
 
<div id="has-url-section">
 
== Websites ==
 
{{{field
 
|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-feature-section">
 
== Features ==
 
{{{field
 
|Features
 
|holds template
 
}}}
 
</div>
 
 
{{{end template}}}
 
{{{end template}}}
{{{for template|Asset|multiple|embed in field=Agency[Websites]|add button text=Add samples}}}
+
{{{for template|Asset|multiple|embed in field=Agency[Assets]|add button text=Add Work Samples}}}
 
{{{field
 
{{{field
 
  |Asset Category
 
  |Asset Category
|hidden
+
  |input type=dropdown
|default=Website
+
  |property=Asset Category
}}}
+
}}} {{{field
{{{field
 
|Has URL
 
  |input type=regexp
 
|regexp=/^$!^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/
 
|base type=url
 
|placeholder=URL of the website
 
}}}
 
<p class="small">NOTES: </p>
 
{{{field
 
  |Has notes
 
|input type=textarea
 
}}}
 
{{{end template}}}
 
{{{for template|Asset|multiple|embed in field=Agency[Banner Ads]|add button text=Add samples}}}
 
{{{field
 
|Asset Category
 
|hidden
 
|default=Banner Ad
 
}}}
 
{{{field
 
 
  |Has image
 
  |Has image
 
  |input type=text
 
  |input type=text
 
  |uploadable
 
  |uploadable
 
  |placeholder=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 samples}}}
 
{{{field
 
|Asset Category
 
|hidden
 
|default=Social campaign
 
}}}
 
{{{field
 
|Social Campaign Media
 
|values from property=Social Campaign Media
 
|input type=dropdown
 
}}}
 
<p class="small">NOTES: </p>
 
{{{field
 
|Has notes
 
|input type=textarea
 
}}}
 
{{{end template}}}
 
{{{for template|Asset|multiple|embed in field=Agency[Features]|add button text=Add samples}}}
 
{{{field
 
|Asset Category
 
|hidden
 
|default=Feature
 
}}}
 
{{{field
 
|Has feature
 
|input type=text
 
|placeholder=Enter feature name
 
 
}}}
 
}}}
 
<p class="small">NOTES: </p>
 
<p class="small">NOTES: </p>

Revision as of 00:28, September 8, 2021