diff --git a/app/views/templates/_edit_template.html.erb b/app/views/templates/_edit_template.html.erb index 3dc7154..0675243 100644 --- a/app/views/templates/_edit_template.html.erb +++ b/app/views/templates/_edit_template.html.erb @@ -20,11 +20,8 @@ <%= t('org_admin.templates.published_label') %> - <% if template.published? %> - <%= f.check_box :published, as: :check_boxes %> - <% else %> - <%= t('org_admin.templates.cannot_publish')%> - <% end %> + + <%= f.check_box :published, as: :check_boxes %> diff --git a/app/views/templates/_show_template.html.erb b/app/views/templates/_show_template.html.erb index cd60ea3..6bc7aa4 100644 --- a/app/views/templates/_show_template.html.erb +++ b/app/views/templates/_show_template.html.erb @@ -25,11 +25,8 @@ <%= t('org_admin.templates.published_label') %> - <% if template.published then%> - <%= template.published %> - <% else %> - <%= t('org_admin.templates.cannot_publish')%> - <% end %> + + <%= template.published %>