<commit_before><% stylesheets('edit_phone_number') %>
<% javascripts('edit_phone_number') %>

<% sub_menu_for(@study_subject||@phone_number.study_subject) %>
<% id_bar_for(@study_subject||@phone_number.study_subject) %>

<h3>Edit Phone Number</h3>

<%= f.error_messages %>

<%= f.wrapped_check_box :is_primary,
	:label_text => 'Primary Phone Number?' %>

<%= f.wrapped_text_field :phone_number,
	:label_text => 'Phone Number:' %>

<%= f.wrapped_collection_select :phone_type_id, PhoneType.all, 
			:id, :code, :include_blank => true, :label_text => 'Type:' %>



<div class='source'>
<%#
	This is probably not all data sources
%>
<%= f.wrapped_collection_select :data_source_id, DataSource.all, 
			:id, :to_s, :include_blank => true, :label_text => 'Source:' %>
<%= f.wrapped_text_field :data_source_other, 
	:label_text => 'Specify if other:' %>
</div><!-- class='source' -->




<div class='verified'>
<%= f.wrapped_check_box :is_verified,
	:label_text => 'Verified?' %>
<%= f.wrapped_text_field :how_verified, 
	:label_text => 'Specify how?' %>
</div><!-- class='verified' -->
<commit_msg>Added data source to phone number form.[#79]<commit_after><% stylesheets('edit_phone_number') %>
<% javascripts('edit_phone_number') %>

<% sub_menu_for(@study_subject||@phone_number.study_subject) %>
<% id_bar_for(@study_subject||@phone_number.study_subject) %>

<h3>Edit Phone Number</h3>

<%= f.error_messages %>

<%= f.wrapped_check_box :is_primary,
	:label_text => 'Primary Phone Number?' %>

<%= f.wrapped_text_field :phone_number,
	:label_text => 'Phone Number:' %>

<hr/>

<%= f.wrapped_collection_select :phone_type_id, PhoneType.all, 
			:id, :code, :include_blank => true, :label_text => 'Type:' %>

<div class='source'>
<%#
	This is probably not all data sources.  It also does not currently include an 'other'
%>
<%= f.wrapped_collection_select :data_source_id, DataSource.all, 
			:id, :to_s, :include_blank => true, :label_text => 'Source:' %>
<%= f.wrapped_text_field :data_source_other, 
	:label_text => 'Specify if other:' %>
</div><!-- class='source' -->


<div class='verified'>
<%= f.wrapped_check_box :is_verified,
	:label_text => 'Verified?' %>
<%= f.wrapped_text_field :how_verified, 
	:label_text => 'Specify how?' %>
</div><!-- class='verified' -->

{'fraction_non_alphanumeric': 0.19047619047619047, 'fraction_numerical': 0.0026455026455026454, 'mean_word_length': 5.896656534954407, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 64, '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': '3209047', 'n_tokens_mistral': 912, 'n_tokens_neox': 830, 'n_words': 151}