diff --git a/app/views/dashboards/_quick_start.html.erb b/app/views/dashboards/_quick_start.html.erb index 0e3154d22..c1932779b 100644 --- a/app/views/dashboards/_quick_start.html.erb +++ b/app/views/dashboards/_quick_start.html.erb @@ -1,9 +1,9 @@
<%= t("dashboard.quick_start.new_task") %>
<% if can_create_protocols_in_repository?(current_team) %> - <%= button_to protocols_path(type: :public), class: 'btn btn-secondary' do %> + <% end %> <% if can_create_reports?(current_team) %> <%= link_to new_report_path, {class: "new-report btn btn-secondary"} do %> @@ -12,3 +12,6 @@ <% end %>
<%= render "create_task_modal" %> + +<%= render partial: "protocols/index/new_protocol_modal.html.erb", locals: {type: 'new'} %> +<%= javascript_include_tag "protocols/new_protocol" %>