Report the user's name and company to Marketo

Also fixes the API to report the other changes (username and email) as well
This commit is contained in:
Joseph Schorr 2016-11-09 15:29:53 -05:00
parent 860942ece1
commit 1a61ef4e04
8 changed files with 78 additions and 24 deletions

View file

@ -42,19 +42,28 @@
<form name="metadataForm" ng-submit="updateUser(metadata)" style="margin-top: 20px;">
<div class="form-group nested">
<label for="name">Name</label>
<label for="givenName">Given Name</label>
<div class="field-row">
<span class="field-container">
<input type="text" class="form-control" placeholder="Name" ng-model="metadata.name"></span>
<input type="text" class="form-control" placeholder="Given Name" ng-model="metadata.given_name" name="givenName">
</span>
</div>
</div>
<div class="form-group nested">
<label for="firstName">Company</label>
<label for="familyName">Family Name</label>
<div class="field-row">
<span class="field-container">
<input type="text" class="form-control" placeholder="Company name" ng-model="metadata.company"></span>
<input type="text" class="form-control" placeholder="Family Name" ng-model="metadata.family_name" name="familyName">
</span>
</div>
</div>
<div class="form-group nested">
<label for="company">Company</label>
<div class="field-row">
<span class="field-container">
<input type="text" class="form-control" placeholder="Company name" ng-model="metadata.company" name="company"></span>
</span>
</div>
</div>