Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For @action.uses(auth.user) -- "Sign Up" and "Lost Password" links are not buttons. #753

Open
JoeCodeswell opened this issue Aug 27, 2022 · 2 comments

Comments

@JoeCodeswell
Copy link

Hi py4web,
The form that appears when i am not logged in and accessing an action using the @action.uses(auth.user) fixture is a bit goofy.
The "Sign Up" and "Lost Password" links are not buttons.
Here's a screenshot.
authUserSignIn_buttonProblems_Screenshot 2022-08-27 065704
Thanks for the blessings.
Love and peace,
Joe Dorocak

@jpsteil
Copy link
Collaborator

jpsteil commented Apr 25, 2023

FWIW - Here is what I did with my default bulma scaffold to make them into buttons

[[extend "layout.html"]]
<div class="columns is-centered mt-6">
  <div class="column is-5-tablet is-6-desktop is-4-widescreen">
    <div class="box">
      <div class="title">[[=request.url.split('/')[-1:][0].replace('_', ' ').title() ]]</div>
      <hr>
      [[=form]]
    </div>
  </div>
</div>
<script type="text/javascript">
  document.querySelectorAll('[role="button"]').forEach(function (el) {
    el.classList.add("button");
    el.classList.add("ml-2");
  });
</script>

@jpsteil
Copy link
Collaborator

jpsteil commented Apr 25, 2023

I recommend we close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants