Skip to content

Commit

Permalink
replaces default Unnamed as survey name with placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Galen Mancino authored and Galen Mancino committed Feb 7, 2019
1 parent f5efbd1 commit c8ffe5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arches/app/templates/views/mobile-survey-designer.htm
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ <h1 class="page-header text-overflow mobile-designer-title">
<div class="col-sm-5">
<div class="form-group">
<label class="control-label account-label">{% trans 'Survey name' %}</label>
<input type="text" class="form-control input-lg account-input" data-bind="value: mobilesurvey.name, valueUpdate: 'keyup'">
<input type="text" class="form-control input-lg account-input" placeholder="{% trans 'Survey name' %}" data-bind="value: mobilesurvey.name, valueUpdate: 'keyup'">
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion arches/app/views/mobile_survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_history(survey, history):
else:
survey = MobileSurvey(
id=surveyid,
name=_('Unnamed'),
name=_(''),
datadownloadconfig={"download": False, "count": 100, "resources": [], "custom": None},
onlinebasemaps=settings.MOBILE_DEFAULT_ONLINE_BASEMAP,
)
Expand Down

0 comments on commit c8ffe5b

Please sign in to comment.