diff options
Diffstat (limited to 'app/views/shared/issuable/form/_title.html.haml')
-rw-r--r-- | app/views/shared/issuable/form/_title.html.haml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/shared/issuable/form/_title.html.haml b/app/views/shared/issuable/form/_title.html.haml index 4d31baee25b..be836f4b8a9 100644 --- a/app/views/shared/issuable/form/_title.html.haml +++ b/app/views/shared/issuable/form/_title.html.haml @@ -1,6 +1,5 @@ - issuable = local_assigns.fetch(:issuable) - form = local_assigns.fetch(:form) -- no_issuable_templates = issuable_templates(ref_project, issuable.to_ability_name).empty? %div{ data: { testid: 'issue-title-input-field' } } = form.text_field :title, required: true, aria: { required: true }, maxlength: 255, autofocus: true, @@ -13,6 +12,3 @@ = s_('MergeRequests|Mark as draft') = c.help_text do = s_('MergeRequests|Drafts cannot be merged until marked ready.') - - - if no_issuable_templates && can?(current_user, :push_code, issuable.project) - = render 'shared/issuable/form/default_templates' |