You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							1.1 KiB
						
					
					
				| <% content_for :title, "Is this user a key contact for this service?" %> | |
|  | |
| <% content_for :before_content do %> | |
|   <%= govuk_back_link(href: :back) %> | |
| <% end %> | |
|  | |
| <%= render partial: "organisations/headings", locals: { main: "Is this user a key contact for this service?", sub: @user.name } %> | |
|  | |
| <%= form_for(@user, as: :user, html: { method: :patch }) do |f| %> | |
|   <div class="govuk-grid-row"> | |
|     <div class="govuk-grid-column-two-thirds"> | |
|       <%= f.govuk_error_summary %> | |
|  | |
|       <% if current_user.data_coordinator? || current_user.support? %> | |
|  | |
|         <%= f.govuk_collection_radio_buttons :is_key_contact, | |
|                                              [OpenStruct.new(id: true, name: "Yes"), OpenStruct.new(id: false, name: "No")], | |
|                                              :id, | |
|                                              :name, | |
|                                              legend: nil, | |
|                                              hint: { text: "This is a person responsible for sharing information about social housing lettings and sales data within the organisation." } %> | |
|       <% end %> | |
|  | |
|       <%= f.govuk_submit "Save changes" %> | |
|     </div> | |
|   </div> | |
| <% end %>
 | |
| 
 |