<div class="col s12 m12">
						<h5>Related Modules</h5>
					</div>
<div class="col s12 m12">
							<ul class="collection">		      
						      <li class="collection-item" field-name="related_modules">
						      <a class="secondary-content btn-floating red hide edit-btn"><i class="material-icons">edit</i></a>
						      <a class="secondary-content btn-floating grey hide cancel-edit-btn"><i class="material-icons">close</i></a>			
						      <b>Related Modules: </b><br>
						      <div class="details_content">
						      	<span class="flow-text">
						      	{% for relationlabel,relation in module_settings['related_modules'] %}
						      		<a class="btn {{themebasiccolor}} btn-small">{{relation.label|trans}} - {{relation.route}}</a>
						      	{% endfor %} 
						      	</span>
						      </div>
						      <div class="edit_content hide">
							      {% set relmod_order = [] %}
							      {% for relationlabel,relation in module_settings['related_modules'] %}
							      	{% set relmod_order = relmod_order|merge([relationlabel]) %}
							      {% endfor %}
							      <select name="settings[related_modules]" class="chosen-select" multiple sort-order="{{relmod_order|join(',')}}" param-name="related_modules">
								      {% for reltag,relation in module_params['related_modules'] %}
								      	{% if true  %}
								      		<option value="{{reltag}}" {% if module_settings['related_modules'][reltag] is defined %}selected {% endif %}>{{relation.label|trans}} - {{relation.route}}</option>
								      	{% endif %}	
								      {% endfor %}
							      </select>
							      <br><br>
									 <a class="btn grey cancel-edit-btn">Cancel</a>
								     <a class="btn green save-edit-btn">Save</a>	
						      </div>
							  </li>
						    </ul>
					</div>
