diff options
| author | 2022-02-27 21:48:39 +0100 | |
|---|---|---|
| committer | 2022-02-27 21:48:39 +0100 | |
| commit | c45e5ba85c253ebf05c060ce5ffa9ad2b725410a (patch) | |
| tree | 58cabe9e9697c94ad713b22a85a872c2495bf13e | |
| parent | 926ce8ff5f2595bdf29f6a8fb61e8e40adb1251a (diff) | |
set type="submit" (#4237)
| -rw-r--r-- | app/views/helpers/category/update.phtml | 8 | ||||
| -rw-r--r-- | app/views/helpers/configure/query.phtml | 4 | ||||
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/app/views/helpers/category/update.phtml b/app/views/helpers/category/update.phtml index 4d05ed908..927010136 100644 --- a/app/views/helpers/category/update.phtml +++ b/app/views/helpers/category/update.phtml @@ -29,7 +29,7 @@ <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-important"><?= _t('gen.action.submit') ?></button> + <button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button> <button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button> </div> @@ -155,7 +155,7 @@ </div> <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-important"><?= _t('gen.action.submit') ?></button> + <button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button> <button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button> </div> </div> @@ -167,12 +167,12 @@ <?php endif;?> <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-attention confirm" + <button type="submit" class="btn btn-attention confirm" data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>" formaction="<?= _url('category', 'empty', 'id', $this->category->id()) ?>" formmethod="post"><?= _t('gen.action.empty') ?></button> <?php if (!$this->category->isDefault()): ?> - <button class="btn btn-attention confirm" + <button type="submit" class="btn btn-attention confirm" data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>" formaction="<?= _url('category', 'delete', 'id', $this->category->id()) ?>" formmethod="post"><?= _t('gen.action.remove') ?></button> diff --git a/app/views/helpers/configure/query.phtml b/app/views/helpers/configure/query.phtml index 3dc6c2459..f681c2538 100644 --- a/app/views/helpers/configure/query.phtml +++ b/app/views/helpers/configure/query.phtml @@ -85,8 +85,8 @@ <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-important"><?= _t('gen.action.submit') ?></button> - <button class="btn btn-attention confirm" + <button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button> + <button type="submit" class="btn btn-attention confirm" data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>" formaction="<?= _url('configure', 'deleteQuery', 'id', $this->queryId) ?>" formmethod="post"><?= _t('gen.action.remove') ?></button> diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index ed6db9b1f..264881f77 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -127,9 +127,9 @@ <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-important"><?= _t('gen.action.submit') ?></button> + <button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button> <button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button> - <button class="btn btn-attention confirm" + <button type="submit" class="btn btn-attention confirm" data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>" formaction="<?= _url('feed', 'delete', 'id', $this->feed->id()) ?>" formmethod="post"><?= _t('gen.action.remove') ?></button> @@ -367,9 +367,9 @@ <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-important"><?= _t('gen.action.submit') ?></button> + <button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button> <button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button> - <button class="btn btn-attention confirm" formmethod="post" formaction="<?= _url('feed', 'truncate', 'id', $this->feed->id()) ?>"><?= _t('gen.action.truncate') ?></button> + <button type="submit" class="btn btn-attention confirm" formmethod="post" formaction="<?= _url('feed', 'truncate', 'id', $this->feed->id()) ?>"><?= _t('gen.action.truncate') ?></button> </div> </div> @@ -476,7 +476,7 @@ <div class="form-group form-actions"> <div class="group-controls"> - <button class="btn btn-important"><?= _t('gen.action.submit') ?></button> + <button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button> <button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button> </div> </div> |
