22 lines
627 B
Plaintext
22 lines
627 B
Plaintext
<p>
|
|
<label>Client ID:</label>
|
|
<%= text_field_tag 'settings[client_id]', @settings[:client_id] %>
|
|
</p>
|
|
<p>
|
|
<label>Client Secret:</label>
|
|
<%= text_field_tag 'settings[client_secret]', @settings[:client_secret] %>
|
|
</p>
|
|
<p>
|
|
<label>Server name:</label>
|
|
<%= text_field_tag 'settings[a2_server_url]', @settings[:a2_server_url] %>
|
|
</p>
|
|
|
|
<p>
|
|
<label>Available domains</label>
|
|
<%= text_area_tag "settings[allowed_domains]", @settings[:allowed_domains], :rows => 5 %>
|
|
</p>
|
|
<p>
|
|
<label>Oauth authentification:</label>
|
|
<%= check_box_tag "settings[oauth_authentification]", true, @settings[:oauth_authentification] %>
|
|
</p>
|