<commit_before><form action="/settings" method="POST">
  <div>
    <input type="hidden" name="_method" value="put">
    
  	<p>Choose the tweets you want to be notified about:</p>
	  
  	<ul class="smaller">
  		<li><em class="underline">DMs</em> — when you have new Direct Messages</li>
  		<li><em class="underline">mentions</em> — when your username appears in a tweet</li>
  		<li><em class="underline">Lists</em> — when a new tweet appears in a list you follow</li>
  	</ul>
	  
  	<h3 class="clear">Twitter Options</h3>
	  
  	<div class="clear">
  		<label for="user_enable_dms" class="for-checkbox">Notify on DM</label>
  		<input type="hidden" name="user[enable_dms]" value="0">
  		<input type="checkbox" id="user_enable_dms" class="checkbox" name="user[enable_dms]" value="1"<% if @user.enable_dms %> checked="checked"<% end %>>
		  
  		<div id="dm-priority-container" class="clear js-hide">
  			<label for="dm-priority" class="for-select">DM Priority</label>
  			<select name="user[dm_priority]" id="dm-priority" class="select">
  				<option value="-1"<% if @user.dm_priority == -1 %> selected="selected"<% end %>>Low</option>
  				<option value="0"<% if @user.dm_priority == 0 %> selected="selected"<% end %>>Normal</option>
  				<option value="1"<% if @user.dm_priority == 1 %> selected="selected"<% end %>>High</option>
  				<option value="2"<% if @user.dm_priority == 2 %> selected="selected"<% end %>>Emergency</option>
  			</select>
  		</div>
  	</div>
	  
  	<div class="clear space">
  		<label for="user_enable_mentions" class="for-checkbox">Notify on mention</label>
  		<input type="hidden" name="user[enable_mentions]" value="0">
  		<input type="checkbox" id="user_enable_mentions" class="checkbox" name="user[enable_mentions]" value="1"<% if @user.enable_mentions %> checked="checked"<% end %>>
		  
  		<div id="mention-priority-container" class="clear js-hide">
  			<label for="mention-priority" class="for-select">mention Priority</label>
  			<select name="user[mention_priority]" id="mention-priority" class="select">
  				<option value="-1" <% if @user.mention_priority == -1 %>selected="selected"<% end %>>Low</option>
  				<option value="0" <% if @user.mention_priority == 0 %>selected="selected"<% end %>>Normal</option>
  				<option value="1" <% if @user.mention_priority == 1 %>selected="selected"<% end %>>High</option>
  				<option value="2" <% if @user.mention_priority == 2 %>selected="selected"<% end %>>Emergency</option>
  			</select>
  		</div>
  	</div>
	  
  	<div class="clear space">
  		<label for="user_enable_list" class="for-checkbox">Watch A List</label>
  		<input type="hidden" name="user[enable_list]" value="0">
  		<input type="checkbox" id="user_enable_list" class="checkbox" name="user[enable_list]" value="1"<% if @user.enable_list %> checked="checked"<% end %>>
		  
  		<div id="list-container" class="clear js-hide">
  			<% if @user.lists and @user.lists.size > 0 %>
  				<div class="clear">
  					<label for="notification-list" class="for-select">List To Watch</label>
  					<select name="user[notification_list]" id="notification-list" class="select">
  						<% unless @user.notification_list %><option value="" selected="selected">--- Select a list ---</option><% end %>
  						<% @user.lists.each do |list| %>
  							<option value="<%= list.id %>" <% if @user.notification_list == list.id %>selected="selected"<% end %>><%= list.full_name %></option>
  						<% end %><commit_msg>Add option in settings page<commit_after><form action="/settings" method="POST">
  <div>
    <input type="hidden" name="_method" value="put">
    
  	<p>Choose the tweets you want to be notified about:</p>
	  
  	<ul class="smaller">
  		<li><em class="underline">DMs</em> — when you have new Direct Messages</li>
  		<li><em class="underline">mentions</em> — when your username appears in a tweet</li>
  		<li><em class="underline">Lists</em> — when a new tweet appears in a list you follow</li>
  	</ul>
	  
  	<h3 class="clear">Twitter Options</h3>
	  
  	<div class="clear">
  		<label for="user_enable_dms" class="for-checkbox">Notify on DM</label>
  		<input type="hidden" name="user[enable_dms]" value="0">
  		<input type="checkbox" id="user_enable_dms" class="checkbox" name="user[enable_dms]" value="1"<% if @user.enable_dms %> checked="checked"<% end %>>
		  
  		<div id="dm-priority-container" class="clear js-hide">
  			<label for="dm-priority" class="for-select">DM Priority</label>
  			<select name="user[dm_priority]" id="dm-priority" class="select">
  				<option value="-1"<% if @user.dm_priority == -1 %> selected="selected"<% end %>>Low</option>
  				<option value="0"<% if @user.dm_priority == 0 %> selected="selected"<% end %>>Normal</option>
  				<option value="1"<% if @user.dm_priority == 1 %> selected="selected"<% end %>>High</option>
  				<option value="2"<% if @user.dm_priority == 2 %> selected="selected"<% end %>>Emergency</option>
  			</select>
  		</div>
  	</div>
	  
  	<div class="clear space">
  		<label for="user_enable_mentions" class="for-checkbox">Notify on mention</label>
  		<input type="hidden" name="user[enable_mentions]" value="0">
  		<input type="checkbox" id="user_enable_mentions" class="checkbox" name="user[enable_mentions]" value="1"<% if @user.enable_mentions %> checked="checked"<% end %>>
		  
  		<div id="mention-priority-container" class="clear js-hide">
  		  <label for="user_disable_retweets" class="for-checkbox">Disable Retweet notifications</label>
  		  <input type="hidden" name="user[disable_retweets]" value="0">
    		<input type="checkbox" id="user_disable_retweets" class="checkbox" name="user[disable_retweets]" value="1"<% if @user.disable_retweets %> checked="checked"<% end %>>
    		
  			<label for="mention-priority" class="for-select">mention Priority</label>
  			<select name="user[mention_priority]" id="mention-priority" class="select">
  				<option value="-1" <% if @user.mention_priority == -1 %>selected="selected"<% end %>>Low</option>
  				<option value="0" <% if @user.mention_priority == 0 %>selected="selected"<% end %>>Normal</option>
  				<option value="1" <% if @user.mention_priority == 1 %>selected="selected"<% end %>>High</option>
  				<option value="2" <% if @user.mention_priority == 2 %>selected="selected"<% end %>>Emergency</option>
  			</select>
  		</div>
  	</div>
	  
  	<div class="clear space">
  		<label for="user_enable_list" class="for-checkbox">Watch A List</label>
  		<input type="hidden" name="user[enable_list]" value="0">
  		<input type="checkbox" id="user_enable_list" class="checkbox" name="user[enable_list]" value="1"<% if @user.enable_list %> checked="checked"<% end %>>
		  
  		<div id="list-container" class="clear js-hide">
  			<% if @user.lists and @user.lists.size > 0 %>
  				<div class="clear">
  					<label for="notification-list" class="for-select">List To Watch</label>
  					<select name="user[notification_list]" id="notification-list" class="select">
  						<% unless @user.notification_list %><option value="" selected="selected">--- Select a list ---</option><% end %>
  						<% @user.lists.each do |list| %>
  							<option value="<%= list.id %>" <% if @user.notification_list == list.id %>selected="selected"<% end %>><%= list.full_name %></option>
  						<% end %>
{'fraction_non_alphanumeric': 0.19534565366187542, 'fraction_numerical': 0.007118412046543464, 'mean_word_length': 4.379970544918999, 'pattern_counts': {'":': 0, '<': 221, '<?xml version=': 0, '>': 223, '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': '3054727', 'n_tokens_mistral': 2750, 'n_tokens_neox': 2485, 'n_words': 539}