Trying to modify fields of default page blueprint

Grav ver.1.2.4
Thats one of my latest failed attemps.
Nothing changes in the book-page creation form .

title: Book

'@extends':
   type: default
   context: blueprints://pages

form:
  validation:loose
  fields:
  
    tabs:           # that field is a tabs collection
      type: tabs
      active: 1

      fields:           # each of its field is tab type.
        content:
          type: tab
          title: aha 
          fields:
            header.title
               type: text
               label: OOOOFOFOFOFOF 
---

Almost there! Just add : after header.title:

title: Book

'@extends':
   type: default
   context: blueprints://pages

form:
  fields:
    tabs:           # that field is a tabs collection
      type: tabs
      active: 1

      fields:           # each of its field is tab type.
        content:
          type: tab
          title: aha
          fields: 
            header.title:
               type: text
               label: OOOOFOFOFOFOF

No progress …
I eved bin/grav clearcache before to open the new form but nothing

I put similar content into my THEME/blueprints/podcast.yaml, with the exception of
context: blueprints://podcast
and it worked for me.

I wish there was a faster way to learn that.
One drawback to yaml blueprints it how sensitive they are to tabs accidentaly inserted. Sth that my emacs do after hitting return to change line.

I found one mistake.
Although in my pasted example i had:
active: 1
infact (strangely) i really had:
active:1

and it seems that yaml dont like the closeness :slight_smile:

I did another test.
And it seems that yaml in grav wont accept
key:value without spaces after ':" .

ok. finally it worked.
Thanks for the feedback.
I wish the manual gets more informative on yaml ‘sensitivities’ :slight_smile:

Feel free to provide some examples in the cookbook via a pull request in the docs. That way more users will have some examples of achieving complex blueprints.

I’ll try. .thanks