Change header display in confirmation forms

For PM.
This commit is contained in:
Visman 2021-04-05 13:56:00 +07:00
parent 4518ed1189
commit 8e3e8c741a
3 changed files with 2 additions and 7 deletions

View file

@ -65,7 +65,7 @@ class PMView extends AbstractPM
if (null === $v->action) {
$this->nameTpl = 'pm/form';
$this->form = $this->formConfirm($v, $this->args);
$this->formId = 'id-pmcnfrm-form';
$this->formClass = 'post';
$this->formTitle = Cnst::PT_ARCHIVE === $this->vStatus ? 'InfoSaveQt' : 'InfoDeleteQt';
$this->pmCrumbs[] = __(Cnst::PT_ARCHIVE === $this->vStatus ? 'InfoSaveQ' : 'InfoDeleteQ');

View file

@ -1,6 +1,6 @@
@extends ('layouts/pm')
@if ($form = $p->form)
<section id="{{ $p->formId }}" class="f-pmform">
<section class="f-pmform f-{{ $p->formClass }}-form">
<h2>{!! __($p->formTitle) !!}</h2>
<div class="f-fdiv">
@include ('layouts/form')

View file

@ -2455,11 +2455,6 @@ html[lang="ru"] #fork details[open] > summary::after {
margin: 0 0 0.625rem 0;
}
#id-pmcnfrm-form.f-pmform .f-fbtn {
width: auto;
display: inline-block;
}
@media screen and (min-width: 50rem) {
#fork .f-nav-pm-links {
margin-right: 0;