summaryrefslogtreecommitdiff
path: root/app/views/application/components/text/_title.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-22 14:32:38 -0400
committerDavid Gay <david@davidgay.org>2021-05-22 14:32:44 -0400
commit88bd4f77db3a4372c118a9faef613615db66bc52 (patch)
treec0ad67b0cdde98e58199052198c9b4f1c45a85f2 /app/views/application/components/text/_title.html.erb
parent2dd5608409f0a506cd2a682107d9be302cec8079 (diff)
Titles
Diffstat (limited to 'app/views/application/components/text/_title.html.erb')
-rw-r--r--app/views/application/components/text/_title.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/application/components/text/_title.html.erb b/app/views/application/components/text/_title.html.erb
new file mode 100644
index 0000000..7d87180
--- /dev/null
+++ b/app/views/application/components/text/_title.html.erb
@@ -0,0 +1,8 @@
+<% if title %>
+ <% case title.gid %>
+ <% when "steward" %>
+ <span class="text-red-500 text-glow">Steward</span>
+ <% else %>
+ <%= title.name %>
+ <% end %>
+<% end %>