Skip to content

Commit

Permalink
Show element names
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Mar 1, 2024
1 parent 69f0e1b commit 10d7c48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/views/metadata_profiles/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@
data: { confirm: 'Are you sure you want to delete this element?' }) do
= icon_for(:delete)
Delete
%td= element.label
%td
= element.label
%br
%code= element.name
%td.boolean= boolean(element.visible)
%td.boolean= boolean(element.searchable)
%td.boolean= boolean(element.sortable)
Expand Down
5 changes: 4 additions & 1 deletion app/views/submission_profiles/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@
data: { confirm: 'Are you sure you want to delete this element?' }) do
= icon_for(:delete)
Delete
%h5.card-title.mb-3= element.registered_element.label
%h5.card-title.mb-3
= element.registered_element.label
  
%code= element.name
%dl.mb-0
%dt Required
%dd= boolean(element.required)
Expand Down

0 comments on commit 10d7c48

Please sign in to comment.