<commit_before><% content_for :content_settings do %>
<%= provide(:title, 'Edit user') %>

<div class="rt-box col-xs-12 col-sm-8 col-md-9 col-lg-9 col-xl-9">
	<div class="row c_pading-b15 settings_top">
		<div class="col-xs-12 col-sm-6">
			<h3> My profile</h3>
		</div>
		<%= render :partial => "users/topright_icons" %>
	</div>
	<div class="row">
		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
			<div class="alert alert-info">
				<strong></strong> Tip  Change your Account settings, Organization, API Key here
			</div>
		</div>
	</div>
	<div class="row">
		<div class="tabbable-custom nav-justified">
			<ul class="nav nav-tabs nav-justified">
				<li class="active">
					<a href="#profile_1" data-toggle="tab"> My Account </a>
				</li>
				<li>
					<a href="#profile_2" data-toggle="tab"> Organization </a>
				</li>
				 <li>
				    <a href="#profile_3" data-toggle="tab"> API Key </a>
				 </li>
				
	       </ul>
			<div class="tab-content c_tab-content">
				<div class="tab-pane active" id="profile_1">
					<div class="row">
						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
							<h4 class="bottom_border_grey">Basic information <span class="pull-right" > <%= current_user.email %></span> </h4>
						</div>

						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 cloud_signup_save">
							<%= form_for @user, html: {class:  'form-horizontal', role: 'form'}, remote: true, data:  { spinlock: '#saving_profilename'} do |f| %>
							<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token.to_s %>">
							<input type="hidden" name="user_fields_form_type" value="profile">
							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Profile name</label>
								<div class="col-md-6 input-group margin-top-10">
									<%= f.text_field :first_name, :id => 'first_name', :class => 'form-control',:readonly => true, placeholder: "Enter text" %>
									<!-- <%= f.text_field :last_name, :id => 'last_name', :class => 'form-control', placeholder: "Last name" %> -->
									<span class="input-group-addon" ><a id="change_profilename">Change ?</a></span>
								</div>
								<div class="col-md-3 pull-right c_cog_icon">
									<span>View only</span>
									<i class="icon-cog"></i>
								</div>
							</div>

							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Phone</label>
								<div class="col-md-6 input-group margin-top-10">
									<%= f.text_field :phone, :class => 'form-control',:readonly => true, :id => 'phonenumber',placeholder: "Enter text" %>
									<span class="input-group-addon" ><a id="change_phonenumber">Change ?</a></span>
								</div>
							</div>

							<div class="form-group">
								<div class="col-md-6 col-md-offset-3 input-group margin-top-10">
									<%= f.submit "Save", :class => "btn btn-success col-md-5 col-xs-12" %>
								</div>
							</div>
							<% end %>
						</div>
					</div>

					<div class="row">
						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
							<h4 class="bottom_border_grey">Change password</h4>
						</div>
						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 cloud_signup_save">
							<%= form_for @user, html: {:class => 'form-horizontal', :role => 'form' }, :remote => true, data: { spinlock: '#saving profile_password'} do |f| %>
							<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token.to_s %>">
							<input type="hidden" name="user_fields_form_type" value="password">
							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Current</label>
								<div class="col-md-6 input-group margin-top-10">
									<%= f.password_field :password, :class=> 'form-control', placeholder: "<PASSWORD>" %>
									<span class="input-group-addon" ><a id="change_password">Change ?</a></span>
								</div>
							</div>

							<div class="form-group">
								<label class="col-md-3 control-label label-profile">New</label>
								<div class="col-xs-12 col-md-6 input-group margin-top-10 pad_rt-9">
									<%= f.password_field :password, :class=> 'form-control', :id => 'newpassword', :readonly => true, placeholder: "<PASSWORD>" %>
								</div>
							</div>

							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Retype</label>
								<div class="col-xs-12 col-md-6 input-group margin-top-10 pad_rt-9">
									<%= f.password_field :password_confirmation,  :class=> 'form-control', :id => 'newpassword_confirmation', :readonly => true, placeholder: "Confirm new password" %>
								</div>
							</div>

							<div class="form-group">
								<div class="col-md-6 col-md-offset-3 input-group margin-top-10">
									<%= f.submit "Update", :id => "save_password", :class => "btn btn-success col-md-5 col-xs-12" %>

								</div>
							</div>
							<% end %>

						</div>
					</div>

				</div>
				<!-- PROFILE-1 tab ENDS HERE -->
				<div class="tab-pane" id="profile_2">
					<div class="row">
					
					
						<div class="col-xs-12 bottom_border_grey">
							      		<div class="row">
							      			<div class="col-xs-7 col-sm-6">
							      				<h4 class="">Organisation Information</h4>
							      			</div>
							      			
							      			<% if @orgs.class != Megam::Error %>
									<% @orgs.each do |one_org| %>
							      			<div class="dropdown">
  <button class="pull-right btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
   <%= one_org[:name] %>
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" name="orglist" role="menu" aria-labelledby="dropdownMenu1">
  <%= select_tag(:orglist, options_for_select(@orgs)) %>
    
  </ul>
</div>
							      			
							      			
							      		</div>
							      		
							  			
							      	</div>
							  	</div>
							  	<div class="row">
							  		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
							  		</div>
							  	</div>
							  	<div class="row">
							  		<div class="col-xs-12 margintb_15">

						                     <ul  class="nav nav-pills c_nav_pills">
						                        <li class="active"><a href="#tab_2_1" data-toggle="tab">Users <span style="margin-left:15px;">|</span></a></li>
						                        <li class=""><a href="#tab_2_2" data-toggle="tab">Domains</a></li>
						                     </ul>
						                     <div  class="tab-content">
						                        <div class="tab-pane fade active in" id="tab_2_1">
						                        	<table class="table tb_action_list">
						                        		<thead>
										                   <tr>
										                      <th>Users</th>
										                      
										                   </tr>
										                </thead>
										                
										                <tbody>
										                   	<tr>
										                   	  
										                   	    <td><%= current_user.email %></td>
										                      	</tr>
										                   	
										                </tbody>
										            </table>
						                        </div>
						                        <div class="tab-pane fade" id="tab_2_2">
								                    <table class="table tb_action_list">
										                <tbody>
										                	<tr>
										                      	<td class="set_title">System Domain:</td>
										                      	<td> <a href="">mybluemix.in</a> </td>
										                   	</tr>
										                   	<tr>
										                      	<td class="set_title">System Domain:</td>
										                      	<td> <a href="">mybluemix.in</a> </td>
										                   	</tr>
										                </tbody>
										            </table>
						                        </div>
						                     </div>

						               </div>
							  	</div>
							  </div>
							  <% end %>
							  <% end %> 
							 
							      		<commit_msg>domain fix<commit_after><% content_for :content_settings do %>
<%= provide(:title, 'Edit user') %>

<div class="rt-box col-xs-12 col-sm-8 col-md-9 col-lg-9 col-xl-9">
	<div class="row c_pading-b15 settings_top">
		<div class="col-xs-12 col-sm-6">
			<h3> My profile</h3>
		</div>
		<%= render :partial => "users/topright_icons" %>
	</div>
	<div class="row">
		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
			<div class="alert alert-info">
				<strong></strong> Tip  Change your Account settings, Organization, API Key here
			</div>
		</div>
	</div>
	<div class="row">
		<div class="tabbable-custom nav-justified">
			<ul class="nav nav-tabs nav-justified">
				<li class="active">
					<a href="#profile_1" data-toggle="tab"> My Account </a>
				</li>
				<li>
					<a href="#profile_2" data-toggle="tab"> Organization </a>
				</li>
				 <li>
				    <a href="#profile_3" data-toggle="tab"> API Key </a>
				 </li>
				
	       </ul>
			<div class="tab-content c_tab-content">
				<div class="tab-pane active" id="profile_1">
					<div class="row">
						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
							<h4 class="bottom_border_grey">Basic information <span class="pull-right" > <%= current_user.email %></span> </h4>
						</div>

						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 cloud_signup_save">
							<%= form_for @user, html: {class:  'form-horizontal', role: 'form'}, remote: true, data:  { spinlock: '#saving_profilename'} do |f| %>
							<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token.to_s %>">
							<input type="hidden" name="user_fields_form_type" value="profile">
							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Profile name</label>
								<div class="col-md-6 input-group margin-top-10">
									<%= f.text_field :first_name, :id => 'first_name', :class => 'form-control',:readonly => true, placeholder: "Enter text" %>
									<!-- <%= f.text_field :last_name, :id => 'last_name', :class => 'form-control', placeholder: "Last name" %> -->
									<span class="input-group-addon" ><a id="change_profilename">Change ?</a></span>
								</div>
								<div class="col-md-3 pull-right c_cog_icon">
									<span>View only</span>
									<i class="icon-cog"></i>
								</div>
							</div>

							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Phone</label>
								<div class="col-md-6 input-group margin-top-10">
									<%= f.text_field :phone, :class => 'form-control',:readonly => true, :id => 'phonenumber',placeholder: "Enter text" %>
									<span class="input-group-addon" ><a id="change_phonenumber">Change ?</a></span>
								</div>
							</div>

							<div class="form-group">
								<div class="col-md-6 col-md-offset-3 input-group margin-top-10">
									<%= f.submit "Save", :class => "btn btn-success col-md-5 col-xs-12" %>
								</div>
							</div>
							<% end %>
						</div>
					</div>

					<div class="row">
						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
							<h4 class="bottom_border_grey">Change password</h4>
						</div>
						<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 cloud_signup_save">
							<%= form_for @user, html: {:class => 'form-horizontal', :role => 'form' }, :remote => true, data: { spinlock: '#saving profile_password'} do |f| %>
							<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token.to_s %>">
							<input type="hidden" name="user_fields_form_type" value="password">
							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Current</label>
								<div class="col-md-6 input-group margin-top-10">
									<%= f.password_field :password, :class=> 'form-control', placeholder: "<PASSWORD>" %>
									<span class="input-group-addon" ><a id="change_password">Change ?</a></span>
								</div>
							</div>

							<div class="form-group">
								<label class="col-md-3 control-label label-profile">New</label>
								<div class="col-xs-12 col-md-6 input-group margin-top-10 pad_rt-9">
									<%= f.password_field :password, :class=> 'form-control', :id => '<PASSWORD>password', :readonly => true, placeholder: "<PASSWORD>" %>
								</div>
							</div>

							<div class="form-group">
								<label class="col-md-3 control-label label-profile">Retype</label>
								<div class="col-xs-12 col-md-6 input-group margin-top-10 pad_rt-9">
									<%= f.password_field :password_confirmation,  :class=> 'form-control', :id => 'newpassword_confirmation', :readonly => true, placeholder: "Confirm new password" %>
								</div>
							</div>

							<div class="form-group">
								<div class="col-md-6 col-md-offset-3 input-group margin-top-10">
									<%= f.submit "Update", :id => "save_password", :class => "btn btn-success col-md-5 col-xs-12" %>

								</div>
							</div>
							<% end %>

						</div>
					</div>

				</div>
				<!-- PROFILE-1 tab ENDS HERE -->
				<div class="tab-pane" id="profile_2">
					<div class="row">
					
					
						<div class="col-xs-12 bottom_border_grey">
							      		<div class="row">
							      			<div class="col-xs-7 col-sm-6">
							      				<h4 class="">Organisation Information</h4>
							      			</div>
							      			
							      			<% if @orgs.class != Megam::Error %>
									<% @orgs.each do |one_org| %>
							      			<div class="dropdown">
  <button class="pull-right btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
   <%= one_org[:name] %>
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" name="orglist" role="menu" aria-labelledby="dropdownMenu1">
  <%= select_tag(:orglist, options_for_select(@orgs)) %>
    
  </ul>
</div>
							      			
							      			
							      		</div>
							      		
							  			
							      	</div>
							  	</div>
							  	<div class="row">
							  		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
							  		</div>
							  	</div>
							  	<div class="row">
							  		<div class="col-xs-12 margintb_15">

						                     <ul  class="nav nav-pills c_nav_pills">
						                        <li class="active"><a href="#tab_2_1" data-toggle="tab">Users <span style="margin-left:15px;">|</span></a></li>
						                        <li class=""><a href="#tab_2_2" data-toggle="tab">Domains</a></li>
						                     </ul>
						                     <div  class="tab-content">
						                        <div class="tab-pane fade active in" id="tab_2_1">
						                        	<table class="table tb_action_list">
						                        		<thead>
										                   <tr>
										                      <th>Users</th>
										                      
										                   </tr>
										                </thead>
										                
										                <tbody>
										                   	<tr>
										                   	  
										                   	    <td><%= current_user.email %></td>
										                      	</tr>
										                   	
										                </tbody>
										            </table>
						                        </div>
						                        <div class="tab-pane fade" id="tab_2_2">
								                    <table class="table tb_action_list">
										                <tbody>
										                	
										                   	<tr>
										                      	
										                      	<td> <a href="">mymegam.in</a> </td>
										                   	</tr>
										                </tbody>
										            </table>
						                        </div>
						                     </div>

						               </div>
							  	</div>
							  </div>
							  <% end %>
							  <% end %> 
							 
							      		
{'fraction_non_alphanumeric': 0.17134553549344547, 'fraction_numerical': 0.01805589908483799, 'mean_word_length': 1.660908193484699, 'pattern_counts': {'":': 0, '<': 436, '<?xml version=': 0, '>': 480, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7293620', 'n_tokens_mistral': 7488, 'n_tokens_neox': 5095, 'n_words': 1017}