tracks/app/views/preferences/index.html.erb

28 lines
926 B
Text
Raw Normal View History

2011-08-02 17:25:45 +02:00
<div id="display_box">
2012-04-19 00:02:42 +02:00
<div id="edit_error_status">
2012-05-12 14:01:56 +02:00
<%= get_list_of_error_messages_for(@user)%>
<%= get_list_of_error_messages_for(@prefs)%>
2012-04-19 00:02:42 +02:00
</div>
2012-05-12 14:01:56 +02:00
<%= form_for(@prefs) do %>
2011-08-02 17:25:45 +02:00
<div id="tabs">
2014-08-14 21:05:05 -05:00
<ul>
2011-08-02 17:25:45 +02:00
<li><a href="#tabs-1"><%= t('preferences.tabs.profile')%></a></li>
<li><a href="#tabs-2"><%= t('preferences.tabs.authentication')%></a></li>
<li><a href="#tabs-3"><%= t('preferences.tabs.date_and_time')%></a></li>
<li><a href="#tabs-4"><%= t('preferences.tabs.tracks_behavior')%></a></li>
</ul>
2014-08-14 21:05:05 -05:00
<div id="tabs-1"><%= render :partial => 'profile'%></div>
<div id="tabs-2"><%= render :partial => 'authentication'%></div>
<div id="tabs-3"><%= render :partial => 'date_and_time'%></div>
<div id="tabs-4"><%= render :partial => 'tracks_behavior'%></div>
</div>
2011-08-02 17:25:45 +02:00
<br/>
<button type="submit" id="prefs_submit"><%= t('common.update') %></button>
2011-08-02 17:25:45 +02:00
<% end %>
2014-08-14 21:05:05 -05:00
</div>