Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Bem grid #267

Merged
merged 5 commits into from Nov 6, 2014
Merged

Bem grid #267

merged 5 commits into from Nov 6, 2014

Conversation

cshold
Copy link
Contributor

@cshold cshold commented Nov 6, 2014

  • Moved the grid classes to BEM grid-item to grid__item
  • Used UpperCamelCase throughout IDs
    • Some elements are generated by liquid tags, so we cannot control their IDs. Labels for those elements use the matching style.

@stevebosworth @mpiotrowicz

</div>
</div>

<p>
{{ form.set_as_default_checkbox }}
<label for="address_default_address_new" class="inline">{{ 'customer.addresses.set_default' | t }}</label>
<label for="address_default_address_{{form.id}}" class="inline">{{ 'customer.addresses.set_default' | t }}</label>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Above line sets the checkbox with a pre-defined ID, so this label can't use upper camel.

@mpiotrowicz
Copy link
Contributor

nice!

@stevebosworth
Copy link
Contributor

👏 🚢

cshold added a commit that referenced this pull request Nov 6, 2014
@cshold cshold merged commit f445a9e into i18n Nov 6, 2014
@cshold cshold deleted the bem-grid branch November 6, 2014 18:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants