Skip to content

Instantly share code, notes, and snippets.

@rruhlen
Created March 10, 2014 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rruhlen/9471775 to your computer and use it in GitHub Desktop.
Save rruhlen/9471775 to your computer and use it in GitHub Desktop.
splitting default name field into the first and last name fields on the customer record.
<div class='input-block'>
<span class='label'>
First Name <span>({{system.snippets.required}})</span>
</span>
<div>
<input value='{{ customer.first_name }}' id='customer_first_name' maxlength='100' name='customer[first_name]' type='text' />
</div>
</div>
<div class='input-block'>
<span class='label'>
Last Name <span>({{system.snippets.required}})</span>
</span>
<div>
<input value='{{ customer.last_name }}' id='customer_last_name' maxlength='100' name='customer[last_name]' type='text' />
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment