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

Allow admins to add/change messages on forms #947

Open
gvwilson opened this Issue Aug 9, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@gvwilson
Member

gvwilson commented Aug 9, 2016

The workshop request form, instructor training request form, and others should each be able to display an optional message, the content of which should be set by the admin. Simplest implementation I can think of is:

  • A new "messages" table with a short text key and a large text message field that may contain HTML.
  • A single page that allows the admins to edit the messages associated with various keys (all displayed on one page).
  • A conditional in each form that displays its message if there is one.

We do not need to add the ability to create new records in the messages table - that can be done by a migration when new forms are added.

@chrismedrela

This comment has been minimized.

Collaborator

chrismedrela commented Aug 9, 2016

I thought that there is already Django app to do this, but I cannot google it.

@pbanaszkiewicz

This comment has been minimized.

Member

pbanaszkiewicz commented Aug 10, 2016

Maybe slightly related: https://docs.djangoproject.com/en/1.9/ref/contrib/flatpages/

Eventually I'd want to go a step further: allow admins to completely modify the forms (like Google forms), but that's only an idea…

@chrismedrela

This comment has been minimized.

Collaborator

chrismedrela commented Aug 11, 2016

I don't think that we can fix this issue with flatpages, but thanks for pointing it out.

Eventually I'd want to go a step further: allow admins to completely modify the forms (like Google forms), but that's only an idea…

Hmmm, that requires a lot of work unless you're considering some specific subset of Google Forms features.

@maneesha

This comment has been minimized.

Contributor

maneesha commented Aug 11, 2016

If we want the forms to connect with the database models I don't think that should be something admins can easily change.

@pbanaszkiewicz

This comment has been minimized.

Member

pbanaszkiewicz commented Aug 12, 2018

@maneesha would this be useful for you? Not so hard to implement for forms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment