2021-05-11 18:10:36 +00:00
- message_base = s_("ForkSuggestion|You can’ t %{edit_start}edit%{edit_end} files directly in this project. Fork this project and submit a merge request with your changes.").html_safe
- message = message_base.html_safe % { edit_start: '<span class="js-file-fork-suggestion-section-action">'.html_safe, edit_end: '</span>'.html_safe }
2021-02-16 15:09:50 +00:00
.js-file-fork-suggestion-section.file-fork-suggestion.hidden
2021-05-11 18:10:36 +00:00
%span.file-fork-suggestion-note= message
2022-10-05 06:08:05 +00:00
= render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm, category: :secondary, button_options: { class: "js-fork-suggestion-button btn-grouped" }) do
= s_('ForkSuggestion|Fork')
= render Pajamas::ButtonComponent.new(button_options: { class: "js-cancel-fork-suggestion-button btn-grouped" }) do
2021-05-11 18:10:36 +00:00
= s_('ForkSuggestion|Cancel')