<form name="form1" method="post" action="/save/1"></form>
<form name="form2" method="post" action="/save/2"></form>
<form name="form3" method="post" action="/save/3"></form>
<table>
<tbody>
<tr>
<td><input type="text" name="param1" form="form1"></td>
<td><input type="text" name="param2" form="form1"></td>
<tr>
<tr><td><button type="submit" form="form1">Send</button></td><tr>
</tbody>
<tbody>
<tr>
<td><input type="text" name="param1" form="form2"></td>
<td><input type="text" name="param2" form="form2"></td>
<tr>
<tr><td><button type="submit" form="form2">Send</button></td><tr>
</tbody>
<tbody>
<tr>
<td><input type="text" name="param1" form="form3"></td>
<td><input type="text" name="param2" form="form3"></td>
<tr>
<tr><td><button type="submit" form="form3">Send</button></td><tr>
<table>
<form method="post" action="/save">
<table>
<tr>
<td><input type="text" name="data[ОУР][param1]"></td>
<td><input type="text" name="data[ОУР][param2]"></td>
<tr>
<tr>
<td><input type="text" name="data[ОЭБ][param1]"></td>
<td><input type="text" name="data[ОЭБ][param1]"></td>
<tr>
<tr>
<td><input type="text" name="data[ОНК][param1]"></td>
<td><input type="text" name="data[ОНК][param1]"></td>
<tr>
<tr><td><button type="submit">Send</button></td><tr>
</tbody>
<table>
</form>
const arrObjects = [
{name:'Irina', skills: ['js', 'html', 'css']},
{name:'Ruslan', skills: ['nodeJs', 'html', 'css']},
{name:'Kate', skills: ['react', 'js', 'css']},
{name:'Dmitry', skills: ['hh', 'html', 'css']},
{name:'Serg', skills: ['angular', 'mobX', 'js']},
];
const result = arrObjects.filter(person => person.skills.includes('js'));
console.log(result);
<div class="row">
<div class="col-lg">контент <button id=menuToggle>Скрыть меню</button></div>
<div class="col-lg-4" id=menu>меню </div>
</div>
<script>
document.getElementById('menuToggle').addEventListener('click', ()
=> document.getElementById('menu').classList.toggle('d-none'));
</script>
.block1:has(ul > .x:hover) + .block2 {
display: block;
}
return array (
'Accept Cookies' => 'Accept Cookies',
'Cookie info' => 'Please be informed that we use cookies to enhance your user experience.
For a complete overview of all cookies used, please see our
<a href="'.route('frontend.pages.cookies').'" class="hero_side__link">Cookies Policy</a>
and <a href="'.route('frontend.pages.privacy').'" class="hero_side__link">Privacy Policy</a>.',
);
return array (
'Cookie info' => 'Please be informed that we use cookies to enhance your user experience.
For a complete overview of all cookies used, please see our
<a href=":policy_url" class="hero_side__link">Cookies Policy</a>
and <a href=":privacy_url" class="hero_side__link">Privacy Policy</a>.',
);
{{! __('Cookie info', [
'policy_url' => route('frontend.pages.cookies'),
'privacy_url' => route('frontend.pages.privacy'),
]) !}}
.cart-modal-mb { // Это отдельный блок в контексте БЭМ!
top: 0px;
}
.cart-modal {
position: sticky;
top: 80px;
&__empty {
margin: auto;
text-align: center;
}
&__inner {
height: calc( 100vh - 150px);
min-height: 300px;
max-height: 100vh;
display: flex;
flex-direction: column;
.cart-modal-mb & {
height: 100vh;
}
}
&__item-list{
flex: 1 1 auto;
}
}
.cart-modal {
position: sticky;
top: 80px;
&__empty {
margin: auto;
text-align: center;
}
&__inner {
height: calc( 100vh - 150px);
min-height: 300px;
max-height: 100vh;
display: flex;
flex-direction: column;
}
&__item-list{
flex: 1 1 auto;
}
// Модификатор
&_mb {
top: 0px;
}
&_mb &__inner {
height: 100vh;
}
}
[GET] /order/{id} получить информацию о заказе
[POST] /order/{id} создать новый заказ
[PUT] /order/{id} обновить данные в заказе
[DELETE] /order/{id} удалить заказ
[GET] /order/{id}
[POST] /order/{id}/create
[POST] /order/{id}/update
[POST] /order/{id}/delete
будет ли нормальная поддержка этих методов в том же php и формах html?
php://input