Sha256: 2b85e3eefd2d4f2f9b94dafbdbbef153e504422007992e8fe18eb276b80b29c2

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

<%= styleguide_block  '1.1' do %>
  <button class="$modifier_class">Example Button</button>
<% end %>

<p>This block above was created with a simple template call:</p>
<pre><code>&lt;% styleguide_block  &#x27;1.1&#x27; do %&gt;
  &lt;button class=&quot;$modifier_class&quot;&gt;Example Button&lt;/button&gt;
&lt;% end %&gt;</code></pre>
<p>
Take a look at the source code to <%= link_to __FILE__, "file://#{__FILE__}" %> for more details. The goal
  is to remove the pain from creating a styleguide — document your CSS, have
  example HTML in your templates and automate as much as possible.
</p>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails-styleguide-0.0.4 app/views/styleguide/default.html.erb
rails-styleguide-0.0.3 app/views/styleguide/default.html.erb
rails-styleguide-0.0.2 app/views/styleguide/default.html.erb
rails-styleguide-0.0.1 app/views/styleguide/index.html.erb