Add input fields that allow the user to assign values to various parameters#115
Add input fields that allow the user to assign values to various parameters#115mahendrark wants to merge 5 commits intodevfrom
Conversation
|
Initial workflow proposal:
After successful initial workflow execution:
@Bachibouzouk comments? |
|
Tasks to do:
|
bff27b6 to
0693f03
Compare
|
I did some preliminary work, but there are some problems. |
| <div class="cell grid-x"> | ||
| <label class="cell small-6 input_field_labels">{{ param }}</label> | ||
| {% for (param_info, value) in param_details.items() %} | ||
| {% if param_info == 'docs_link' %} |
There was a problem hiding this comment.
why do you loop here, you can assess the value directly with param_details["docs_link"]
| <!-- WRITE HTML CODE WITHIN THESE block content TAGS --> | ||
| {% block content %} | ||
|
|
||
| {% set project_parameters={ |
There was a problem hiding this comment.
I think the structure should be a list of dicts (you can move the name inside with the key name or label for example
|
We should probably create models and use ModelForm to render the inputs from the model instances. The column |
Fix #114
Changes proposed in this pull request:
The following steps were realized, as well (if applies):
black . --exclude docs/)The following optional steps were realized:
For more information on how to contribute check the [CONTRIBUTING.md](https://github.com/rl
-institut/open_plan/blob/dev/CONTRIBUTING.md).