From 88bd4f77db3a4372c118a9faef613615db66bc52 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 22 May 2021 14:32:38 -0400 Subject: Titles --- app/views/application/components/text/_title.html.erb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/views/application/components/text/_title.html.erb (limited to 'app/views/application/components/text/_title.html.erb') 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" %> + Steward + <% else %> + <%= title.name %> + <% end %> +<% end %> -- cgit v1.2.3