Skip to content

Commit aaff330

Browse files
committed
Fix form label
1 parent e733208 commit aaff330

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

ckanext/activityinfo/blueprints/activity_info.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ def form(database_id, form_id):
112112
'data': data,
113113
'form': form,
114114
'database_id': schema['databaseId'],
115-
'database': {'label': 'Test DB'},
116115
'fields': fields,
117116
}
118117
return toolkit.render('activity_info/form_details.html', extra_vars)

ckanext/activityinfo/data/samples/form-tree-translated.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"id": "FORM-ID",
88
"schemaVersion": 1,
99
"databaseId": "DATABASE-ID",
10-
"label": "RIDL Form",
10+
"label": "Label Form",
1111
"elements": [
1212
{
1313
"id": "cbgn1gumhum9w5s4",

ckanext/activityinfo/templates/activity_info/form_details.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% block primary_content %}
66
<div class="internal-div-section">
7-
<h1>Form <i>{{ form.label }}</i> for database <i>{{ database.label }}</i></h1>
7+
<h1>Form <i>{{ form.schema.label }}</i></h1>
88

99
<table id="activity-info-form-schema" class="table table-header table-hover table-bordered table-responsive">
1010
<thead>

0 commit comments

Comments
 (0)