Link url routes and themes

This commit is contained in:
Ufuk Kayserilioglu
2015-03-17 01:24:29 +02:00
parent 960a7f1102
commit c58a2d0142
4 changed files with 52 additions and 22 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ title: Slack Themes
<% themes.each do |theme| %>
<label class="radio theme_label theme_<%= theme.slug %>">
<img src="/images/theme/<%= theme.slug %>-<%= theme.digest %>.png" class="theme_thumb"><br>
<input name="sidebar_theme_rd" type="radio" value="<%= theme.colors %>" ng-model="theme" ng-change="setTheme()"> <%= theme.name %>
<input name="sidebar_theme_rd" type="radio" value="<%= theme.slug %>" ng-model="slug"> <%= theme.name %>
</label>
<% end %>