mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-21 22:54:09 +01:00
Add a user preference that can be used as a fallback for the sender authentication.
This commit is contained in:
parent
f40e3c0788
commit
ddcd468070
7 changed files with 21 additions and 4 deletions
|
|
@ -37,6 +37,9 @@
|
|||
<div class="form-group">
|
||||
<%= pref('prefs', "sms_context") { select('prefs', 'sms_context_id', current_user.contexts.map{|c| [c.name, c.id]}, {}, class: "form-control") } %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= pref_with_text_field('prefs', "sms_permitted_senders") %>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= pref_with_select_field('prefs', 'theme', [[t('models.preference.themes.black'), Preference.themes[:black]], [t('models.preference.themes.light_blue'), Preference.themes[:light_blue]]]) %>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue