Skip to content

Commit

Permalink
Merge pull request #2393 from nebulab/remove-lastname-required
Browse files Browse the repository at this point in the history
Remove required attribute from address lastname
  • Loading branch information
kennyadsl committed Nov 24, 2017
2 parents 5766ca2 + b8e5e7d commit 8d87542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/views/spree/address/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</p>

<p class="field" id=<%="#{address_id}lastname" %>>
<%= form.label :lastname, t('spree.last_name') %><span class="required">*</span><br />
<%= form.text_field :lastname, autocomplete: address_type + ' family-name', required: true %>
<%= form.label :lastname, t('spree.last_name') %><br />
<%= form.text_field :lastname, autocomplete: address_type + ' family-name' %>
</p>

<% if Spree::Config[:company] %>
Expand Down

0 comments on commit 8d87542

Please sign in to comment.