app/views/spina/admin/accounts/style.html.haml in spina-0.12.0 vs app/views/spina/admin/accounts/style.html.haml in spina-1.0.0

- old
+ new

@@ -4,24 +4,25 @@ #header_actions %button.button.button-primary{type: 'submit', data: {icon: 'o'}} = icon('check') = t('spina.preferences.style_save') - + .well .horizontal-form .horizontal-form-group .horizontal-form-label = Spina::Account.human_attribute_name(:theme) .horizontal-form-content .select-dropdown.account-theme{data: {layout_parts: current_theme.layout_parts.map{|layout_part| layout_part[:name]}}} - options = options_for_select(::Spina::Theme.all.map { |theme| [theme.name, theme.name, {'data-layout-parts' => theme.layout_parts.map{|layout_part| layout_part[:name] }}] }, current_account.theme) = f.select :theme, options + .horizontal-form-group .horizontal-form-label = Spina::Account.human_attribute_name(:logo) .horizontal-form-content - = image_tag current_account.logo + = image_tag current_account.logo.url if current_account.logo.present? = f.file_field :logo = f.fields_for :layout_parts do |ff| .horizontal-form-group.layout-part{data: {name: ff.object.name}} .horizontal-form-label