services edit page ported to bootstrap

This commit is contained in:
Pablo Cuadrado 2014-06-28 02:18:56 -03:00
parent 2611747875
commit c6511c9299
2 changed files with 18 additions and 9 deletions

View file

@ -8,6 +8,9 @@ class ServicesController < ApplicationController
skip_before_filter :verify_authenticity_token, :only => :create
before_filter :authenticate_user!
before_filter :abort_if_already_authorized, :abort_if_read_only_access, :only => :create
before_filter -> { @css_framework = :bootstrap }, only: [:index]
layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" }
respond_to :html
respond_to :json, :only => :inviter

View file

@ -5,14 +5,20 @@
- content_for :page_title do
= t('.edit_services')
#section_header
.bootstrap_header_padding
.container
.row-fluid
.span-12
#section_header
%h2
= t('settings')
= render 'shared/settings_nav'
.span-14.prepend-5.last
.row-fluid
.span8
= render 'shared/add_remove_services'
.span-5
.span4
%p
= t('.services_explanation')