usdigitalresponse / cpf-reporter

CPF Reporter application maintained by the USDR Grants program.
Apache License 2.0
0 stars 4 forks source link

[Issue]: Hide Edit button for Output Templates #505

Open ClaireValdivia opened 3 weeks ago

ClaireValdivia commented 3 weeks ago

Why is this issue important?

Edit does not currently work

Current State

On the /output-templates page, each output template has an "edit" link. When you click it, you can enter edit mode for output templates, but when you try to save you get this error: Image

Expected State

Ideally in the future we will fix the bug to allow USDR admin users to edit the output templates, but for now, there is a workaround of creating a new output template, so we will remove the edit option as a short term fix. Edit button should be removed for all users on the output template screen. If changes are needed, USDR Admin should create a new output template and update the reporting period accordingly to reference the new output template. Image

Implementation Plan

The following functions need to be added...

Relevant Code Snippets

No response