Chris,
So how would I go about applying this HTML:
<button type="submit" class="button positive">
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/>Sign
Up
</button>
to this Haml:
- form_for @user do |form|
= render :partial => '/users/form', :object => form
%br/
= form.submit 'Sign up', :class => 'button positive', :disable_with
=> 'Please wait...'
Thanks,
Mark
On May 5, 5:53 pm, Chris Eppstein <
ch...@eppsteins.net> wrote:
> Hi Mark,
> Blueprint buttons are kind of special because they distribute images too. So
> the button plugin is a compass "pattern" that you have to stamp into your
> project:
>
> compass -f blueprint -p buttons
>
> This will give you a new stylesheet called buttons.sass (among other things)
> that demontrates how to use the button mixins.
>
> Also, I should point out that your're importing and mixing in a little too
> much. most compass-provided imports at a high level import most of the lower
> level ones so most of the blueprint modules needn't be imported.
>
> You get all this when you @import blueprint.
http://github.com/chriseppstein/compass/blob/master/frameworks/bluepr...
>
> Also the +blueprint mixin is just a wrapper over the other mixins below it
> as seen in the file above, so don't unecesarily bloat your css.
>
> Let me know if you're still stuck after this.
>
> chris
>