gemgem-trbrb icon indicating copy to clipboard operation
gemgem-trbrb copied to clipboard

Set `label:false` as default

Open smathy opened this issue 9 years ago • 8 comments

Nice and simple :)

smathy avatar Aug 12 '15 05:08 smathy

Whoohoo! :heart:

apotonick avatar Aug 12 '15 05:08 apotonick

You can put placeholders into the locale files so you don't have to specify that in the HAML either, you want that too?

smathy avatar Aug 12 '15 05:08 smathy

Awesome, please!!!!

apotonick avatar Aug 12 '15 05:08 apotonick

:boom:

smathy avatar Aug 12 '15 05:08 smathy

I merged this into chapter-10 but now explicitly defined labels don't work anymore, for example in app/views/things/new.html.haml the

= f.input :is_author, as: :boolean, label: "I'm the author!"

doesn't render the label anymore?!?!?!

apotonick avatar Aug 23 '15 08:08 apotonick

Might need to give a special wrapper that renders labels for those cases. I'm away until Wednesday, but I'll take a look then.

smathy avatar Aug 23 '15 13:08 smathy

I tried checking out chapter-10 but got a bunch of errors relating to Trailblazer::Operation::Policy - maybe something you didn't commit/push?

smathy avatar Aug 26 '15 22:08 smathy

Oh sorry, yeah, I am still referencing my local trailblazer gem and the policy branch. I will merge it into master today. Thanks for your help! :heart:

apotonick avatar Aug 27 '15 01:08 apotonick