					<div class="col s12 m12">
						<h5>Create View</h5>
					</div>
	                <div class="col s12 m6">
						<ul class="collection">
						      <li class="collection-item" field-name="create_enabled" field-group="create_group">
						      <b>Create Enabled: </b><br>
						      <div class="details_content">
						      <span class=" flow-text">{% if module_settings['create_enabled'] %}On{% else %}Off{% endif %}</span></div>
						        <div class="edit_content hide">
								      <div class="switch">
									    <label>Off 
									    <input type="checkbox" name="settings[create_enabled]" {% if module_settings['create_enabled'] %}checked="checked" value="1" {% endif %} param-name="create_enabled">
									    <span class="lever"></span> On
									    </label>
									  </div>
						      </div>
						      </li>
							</ul>
	                </div>
	                
	                <div class="col s12 m6">
							<ul class="collection">	      
						      <li class="collection-item" field-name="create_fields" field-group="create_group">
						    
						      <b>Create Fields: </b><br>
						      <div class="details_content">
						      	<span class="flow-text">
						      	{% for fieldname in module_settings['create_fields'] %}
						      		<a class="btn {{themebasiccolor}} btn-small">{{field_labels[fieldname]|trans}}</a>  
						      	{% endfor %} 
						      	</span>
						      </div>
						      <div class="edit_content hide">
							      <select name="settings[create_fields]" class="chosen-select" multiple sort-order="{{module_settings['create_fields']|join(',')}}" required param-name="create_fields">
								      {% for field in module_params['fields'] %}
								      	{% if field.name!="id" and field.editable  %}
								      		<option value="{{field.name}}" {% if field.name in module_settings['create_fields'] or field.mandatory %}selected {% endif %}>{{field.label|trans}} {% if field.mandatory %}*{% endif %}</option>
								      	{% endif %}	
								      {% endfor %}
							      </select>
						      </div>
							  </li>
							  
						    </ul>
					</div>
					
					
					
					
					 <div class="col s12 m12">
							<ul class="collection">	 
								
								{% include 'themes/default/config/module/update-field.html' with { is_group: "true", condition_rows:  module_settings["create_default_values"], f_label: "Default Values for Created Record", f_name: "create_default_values", f_group: "create_group" } %} 
								
						    </ul>
					</div>
					
					<div class="col s12 m12 center-align">
		                <a class="btn red edit-group-btn" field-group="create_group"><i class="material-icons left">edit</i>Edit</a>
			            <a class="btn green save-group-btn hide" field-group="create_group" >Save</a>
			            <a class="btn grey hide cancel-group-btn" field-group="create_group"><i class="material-icons left">close</i>Cancel</a><br><br>
	                </div>
					
					
					
					
					
					
					
					
					
					
	                
	                <div class="col s12 m12"><hr><h5>Edit View</h5></div>					
					<div class="col s12 m6">
							<ul class="collection">
						      
						      <li class="collection-item" field-name="edit_enabled" field-group="edit_group">
						      		
						      <b>Edit Enabled: </b><br>
						      <div class="details_content">
						      <span class=" flow-text">{% if module_settings['edit_enabled'] %}On{% else %}Off{% endif %}</span></div>
						        <div class="edit_content hide">
								      <div class="switch">
									    <label>Off 
									    <input type="checkbox" name="settings[edit_enabled]" {% if module_settings['edit_enabled'] %}checked="checked" value="1" {% endif %} param-name="edit_enabled">
									    <span class="lever"></span> On
									    </label>
									  </div>
						      </div>
						      </li>
						  
						    </ul>
					</div>
					
					<div class="col s12 m6">
							<ul class="collection">	
									
	                <li class="collection-item" field-name="edit_fields" field-group="edit_group">
					
						      <b>Edit Fields: </b><br>
						      <div class="details_content">
						      	<span class="flow-text">
						      	{% for fieldname in module_settings['edit_fields'] %}
						      		<a class="btn {{themebasiccolor}} btn-small">{{field_labels[fieldname]|trans}}</a> 
						      	{% endfor %} 
						      	</span>
						      </div>
						      <div class="edit_content hide">
							      <select name="settings[edit_fields]" class="chosen-select" multiple sort-order="{{module_settings['edit_fields']|join(',')}}" param-name="edit_fields" required>
								      {% for field in module_params['fields'] %}
								      	{% if field.name!="id"  and field.editable %}
								      		<option value="{{field.name}}" {% if field.name in module_settings['edit_fields'] or field.name in module_params.labelFields %}selected {% endif %}>{{field.label|trans}} {% if field.name in module_params.labelFields %}*{% endif %}</option>
								      	{% endif %}	
								      {% endfor %}
							      </select>
						      </div>
							  </li>
							</ul>
	                </div>
	                
	             	                	                
	                
	                 <div class="col s12 m12">
							<ul class="collection">	      
					{% include 'themes/default/config/module/update-field.html' with { is_group: "true", condition_rows:  module_settings["edit_default_values"], f_label: "Default Values for Updated Record", f_name: "edit_default_values", f_group: "edit_group" } %} 
						      
						    </ul>
					</div>
					<div class="col s12 m12 center-align">
		                <a class="btn red edit-group-btn" field-group="edit_group"><i class="material-icons left">edit</i>Edit</a>
			            <a class="btn green save-group-btn hide" field-group="edit_group" >Save</a>
			            <a class="btn grey hide cancel-group-btn" field-group="edit_group"><i class="material-icons left">close</i>Cancel</a><br><br>
	                </div>
               
                
                