diff options
Diffstat (limited to 'themes/okadmin/templates/resource.liquid')
| -rw-r--r-- | themes/okadmin/templates/resource.liquid | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/okadmin/templates/resource.liquid b/themes/okadmin/templates/resource.liquid index abc59e9..aa3efe0 100644 --- a/themes/okadmin/templates/resource.liquid +++ b/themes/okadmin/templates/resource.liquid @@ -6,8 +6,8 @@ <a href="../..">Back</a> </nav> -<section class="resource main"> - <h2>EDIT {{ resource.type }} '{{ resource.id }}'</h2> +<section class="resource main" data-type="{{ resource.type }}" data-id="{{ resource.id }}"> + <h2>EDIT {{ resource.type }} '{{ resource.spec.title.value }}'</h2> <form action="." method="POST"> <input type="hidden" name="_method" value="PUT"> {% include 'partials/inputs' %} |
