Fix undef issue on valid_read template
This commit is contained in:
parent
18992784b2
commit
0159ef91dc
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
<li class="list-group-item"><input id="town" type="text" class="form-control" placeholder="Town" name="town" value="<%= $valid_org->town %>"></li>
|
||||
<li class="list-group-item">
|
||||
<select class="form-control" name="sector">
|
||||
%= include 'partials/sector_options', selected_sector => $valid_org->sector;
|
||||
%= include 'partials/sector_options', selected_sector => $valid_org->sector || '';
|
||||
</select>
|
||||
</li>
|
||||
<li class="list-group-item"><input id="postcode" type="text" class="form-control" placeholder="Postcode" name="postcode" value="<%= $valid_org->postcode %>"></li>
|
||||
|
|
Reference in a new issue