Small correction on test attribute, for proper translation

remotes/origin/master
echarp 3 years ago
parent ae8241fd70
commit b190cf485b
  1. 2
      app/views/events/show.text.haml
  2. 2
      app/views/orgas/show.text.haml

@ -10,7 +10,7 @@
!= display_attr @event, :url
- if @event.contact.present?
!= display_attr @event, :contact
!= display_attr @event, :tag_list, @event.tag_list
!= display_attr @event, :tags, @event.tag_list
- if @event.repeat&.positive?
= display_attr @event, :repeat
= display_attr @event, :rule, t(@event.rule, scope: 'activerecord.attributes.event.rule_values')

@ -11,7 +11,7 @@
!= display_attr @orga, :feed
!= display_attr @orga, :contact
!= display_attr @orga, :submitter
!= display_attr @orga, :tag_list, @orga.tag_list
!= display_attr @orga, :tags, @orga.tag_list
!= display_attr @orga, :active, t(@orga.active.to_s)
\
!= to_markdown @orga.description, 78

Loading…
Cancel
Save