Legislation process minor html fixes
This commit is contained in:
@@ -8,7 +8,7 @@ App.Legislation =
|
||||
$('#js-toggle-small-debate').on
|
||||
click: ->
|
||||
$('#debate-show').toggle()
|
||||
$('span').toggleClass('icon-angle-up')
|
||||
$(this).find($('span')).toggleClass('icon-angle-up')
|
||||
|
||||
$('form#new_legislation_answer input.button').hide()
|
||||
$('form#new_legislation_answer input[type=radio]').on
|
||||
@@ -19,7 +19,3 @@ App.Legislation =
|
||||
$('form#draft_version_go_to_version select').on
|
||||
change: ->
|
||||
$('form#draft_version_go_to_version').submit()
|
||||
|
||||
$('#js-toggle-legislation-process-header').on
|
||||
click: ->
|
||||
$('[data-target="legislation-header-full"]').toggle()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<% if header == :small %>
|
||||
<div class="legislation-hero jumbo grey-heading" data-target="legislation-header-small">
|
||||
<div class="legislation-hero jumbo grey-heading">
|
||||
<div class="row headline">
|
||||
<div class="small-12 medium-8 column">
|
||||
<h3 class="headline-small"><%= process.title %></h3>
|
||||
@@ -29,7 +29,6 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= render 'legislation/processes/header_full', process: @process, hidden: true %>
|
||||
<% else %>
|
||||
<%= render 'legislation/processes/header_full', process: @process, hidden: false %>
|
||||
<%= render 'legislation/processes/header_full', process: @process %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="legislation-hero jumbo grey-heading" style="display:<%= hidden ? 'none' : 'block' %>" data-target="legislation-header-full">
|
||||
<div class="legislation-hero jumbo grey-heading">
|
||||
<div class="row headline">
|
||||
<div class="small-12 medium-8 column">
|
||||
<%= back_link_to legislation_processes_path %>
|
||||
|
||||
Reference in New Issue
Block a user