Sha256: 4d62b333b615f9e42eee920108c4ee600672aea85f6b3ceaab1b74247b69b3c4
Contents?: true
Size: 905 Bytes
Versions: 6
Compression:
Stored size: 905 Bytes
Contents
<template> <Head title="<%= human_name.pluralize %>" /> <p v-if="flash.notice" class="notice">{{ flash.notice }}</p> <h1><%= human_name.pluralize %></h1> <div> <div v-for="<%= singular_table_name %> in <%= plural_table_name %>" :key="<%= singular_table_name %>.id"> <<%= inertia_component_name %> :<%= singular_table_name %>="<%= singular_table_name %>" /> <p> <Link :href="`<%= js_resource_path %>`">Show this <%= human_name.downcase %></Link> </p> </div> </div> <Link href="<%= js_new_resource_path %>">New <%= human_name.downcase %></Link> </template> <script setup> import { Link, Head } from '@inertiajs/vue3' import <%= inertia_component_name %> from './<%= inertia_component_name %>.vue' const { <%= plural_table_name %>, flash } = defineProps(['<%= plural_table_name %>', 'flash']) </script> <style scoped> .notice { color: green; } </style>
Version data entries
6 entries across 6 versions & 1 rubygems