cllns / material_design_lite-rails

:large_blue_circle: Material Design Lite, for Rails
MIT License
127 stars 12 forks source link

Add view helpers for components #2

Open cllns opened 9 years ago

cllns commented 9 years ago

For example,

<!-- Colored FAB button -->
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored">
  <i class="material-icons">add</i>
</button>

(FAB means Floating action button)

We should add view helpers, so we can just do:

<%= mdl_fab_button("add") %>

We should do this for all the components.