Merge pull request #2049 from pavel-mironchik/fix-import-page-title-for-modules-2

Fix the import page title for modules (2nd variant).
This commit is contained in:
Denis Duliçi
2021-05-18 23:43:47 +03:00
committed by GitHub

View File

@@ -1,10 +1,10 @@
@extends('layouts.admin')
@section('title', trans('import.title', ['type' => trans_choice($namespace . 'general.' . $type, 2)]))
@section('title', trans('import.title', ['type' => trans_choice($namespace . 'general.' . str_replace('-', '_', $type), 2)]))
@section('content')
<div class="card">
@php
@php
$form_open = [
'id' => 'import',
'@submit.prevent' => 'onSubmit',