Moved form helpers from application_helper to a real FormHelper
This commit is contained in:
@@ -59,7 +59,7 @@ selectA = (type, event, $emptyObj) ->
|
||||
$overlay = createOverlay()
|
||||
objs = []
|
||||
$('.' + type + '-select-field.added input.' + type + '-id').each () -> obj.push($(this).val())
|
||||
$.post $emptyObj.data().url + (if type == 'organization' then '/nonhosts' else '/nonmembers'), {added: objs},
|
||||
$.post window.location.href.replace(/^(.*\/)(.+?)$/, '$1non$2'), {added: objs},
|
||||
(html) ->
|
||||
setOverlayHTML(html).addClass('' + type + '-select')
|
||||
$('#select-' + type + '-list a').click (event) ->
|
||||
|
||||
@@ -182,7 +182,8 @@ $large: $large-up;
|
||||
|
||||
// We use this to control the maximum number of block grid elements per row
|
||||
// $block-grid-elements: 12;
|
||||
// $block-grid-default-spacing: rem-calc(20);
|
||||
$block-grid-default-spacing: rem-calc(20);
|
||||
$align-block-grid-to-grid: true;
|
||||
|
||||
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
|
||||
// $block-grid-media-queries: true;
|
||||
|
||||
@@ -395,3 +395,8 @@ table {
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*[class*="block-grid-"] {
|
||||
margin: 0;
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user