Fix rubocop issue

This commit is contained in:
Rishabh Singh 2019-08-17 18:33:23 +05:30
parent 9bdcba4609
commit d6478abcf9
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
%h1 %h1
- if booth_type.new_record? - if booth_type.new_record?
New New
#{(t'booth').capitalize} Type #{(t 'booth').capitalize} Type
= booth_type.title = booth_type.title
.row .row
.col-md-12 .col-md-12

View file

@ -1,7 +1,7 @@
.row .row
.col-md-12 .col-md-12
.page-header .page-header
%h1 #{(t'booth').capitalize} Types %h1 #{(t 'booth').capitalize} Types
%p.text-muted %p.text-muted
The different types of #{(t 'booth').pluralize} in your conference The different types of #{(t 'booth').pluralize} in your conference
.row .row
@ -26,4 +26,4 @@
method: :delete, class: 'btn btn-danger', data: { confirm: "Do you really want to delete #{booth_type.title}?" } method: :delete, class: 'btn btn-danger', data: { confirm: "Do you really want to delete #{booth_type.title}?" }
.row .row
.col-md-12.text-right .col-md-12.text-right
= link_to "Add #{(t'booth').capitalize} Type", new_admin_conference_program_booth_type_path(@conference.short_title), class: 'btn btn-primary' = link_to "Add #{(t 'booth').capitalize} Type", new_admin_conference_program_booth_type_path(@conference.short_title), class: 'btn btn-primary'