<commit_before>%h3 Constitution

%h4 Definitions & Membership
%ul.constitution
  %li
    This is the constitution ("Constitution") of
    %span{:class=>'dynamic'}
      = @organisation_name
    ("The Organisation").  
  %li
    The Organisation has the objectives of
    %span{:class=>'dynamic'}
      = @objectives
    ("Objectives").
  - if @assets
    %li The Organisation may hold, transfer and dispose of material assets and intangible assets. 
  %li The Organisation uses an electronic management system to automate clerical processes ("Management System"). 
  %li The Organisation has one or more members ("Members") who support its Objectives. 
  %li Each Member nominates an email address at which they will receive important notices from the Organisation ("Nominated Email Address"). 
  %li 
    Members may access the Management System at the website
    = @website
  %li Members may view the current Constitution on the Management Systems. 
  %li Members may view a register of current Members together with their Nominated Email Addresses on the Management System. 
  %li Members may resign their membership via the Management System.

%h4 Proposals & Decisions
%ul.constitution
  %li Members may submit a proposal ("Proposal") on the Management System. 
  %li
    A Proposal may be voted on for a period of
    %span{:class=>'dynamic'}
      = @voting_period
    starting with its submission ("Voting Period").
  %li Members may view all current Proposals on the Management System. 
  %li Members may vote to support ("Supporting Vote") or vote to oppose ("Opposing Vote") a Proposal on the Management System during the Proposal's Voting Period. 
  %li Members may only vote on Proposals submitted during their membership of the Organisation. 
  %li All aspects of the Organisation's activity other than a change to the membership or an amendment to the constitution may be governed by a general decision ("General Decision"). 
  %li New Members may be appointed and existing Members may be ejected by a membership decision ("Membership Decision"). 
  %li The Constitution may be amended by a constitution decision ("Constitution Decision").
  %li
    %form{:action=>url(:action=>'propose_voting_system_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'general_voting_system'}
              Change the way General Decisions are made:
            %select{:name=>'general_voting_system'}
              - VotingSystems.all do |vs|
                %option{:value=>vs.simple_name}= vs.description
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    A General Decision is made when a Proposal that does not concern a change to the membership or an amendment to the Constitution
    %span{:class=>'dynamic'}
      = @general_voting_system
  %li
    %form{:action=>url(:action=>'propose_voting_system_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'membership_voting_system'}
              Change the way Membership Decisions are made:
            %select{:name=>'membership_voting_system'}
              - VotingSystems.all do |vs|
                %option{:value=>vs.simple_name}= vs.description
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    A Membership Decision is made when a Proposal concerning a change to the membership
    %span{:class=>'dynamic'}
      = @membership_voting_system
  %li
    %form{:action=>url(:action=>'propose_voting_system_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'constitution_voting_system'}
              Change the way Constitution Decisions are made:
            %select{:name=>'constitution_voting_system'}
              - VotingSystems.all do |vs|
                %option{:value=>vs.simple_name}= vs.description
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    A Constitution Decision is made when a Proposal concerning an amendment to the Constitution
    %span{:class=>'dynamic'}       
      = @constitution_voting_system
  %li Members may view all General Decisions, Membership Decisions and Constitution Decisions on the Management System.

/ %h4 Proxies
/ %ul.constitution
/   %li A Member may nominate another Member as their proxy (“Proxy Nomination”) on the Management System. In this case the Member assigning the proxy is the proxy giver (“Proxy Giver”) and the nominated Member is the proxy holder (“Proxy Holder”). 
/   %li On each occasion a Proxy Holder submits a Supporting Vote or Opposing Vote equivalent votes shall be submitted for all Proxy Givers by whom they are currently nominated. 
/   %li A Proxy Holder may in turn nominate another Member as their proxy. 
/   %li A Member may withdraw a Proxy Nomination at any time on the Management System. 

%h4 Failsafe Clauses 
%ul.constitution
  %li Should the Constitution be amended in such a way that an impasse arises any Member may submit a special proposal (“Reset Proposal”) to reset the Constitution to the default options for a General Decision, a Membership Decision and a Constitution Decision on the Management System.
  %li A Reset Proposal is enacted if it receives Supporting Votes from more than two thirds of Members during the Voting Period.
  %li Should the Management System become unavailable or defective such that it does not meet the requirements specified in the Constitution any Member may convene an emergency meeting (“Emergency Meeting”) by sending an email to all other Members at their Nominated Email Address stating a date and time at which the meeting shall commence.
  %li An Emergency Meeting shall not be scheduled to commence less than seven days after it is convened except with unanimous written consent of the Members.
  %li Should more than one Member send an email to convene an Emergency Meeting the one that was sent first shall have primacy.
  %li An Emergency Meeting may be conducted in person, by any form of synchronous electronic communication or by a combination thereof.
  %li At a duly convened Emergency Meeting the Members shall be able to make General Decisions on the basis described in the Constitution but stating “support” or “oppose” in place of the Management System.
  %li Should the number of Members become zero the Custodian of CIRCUS foundation as named on the website CIRCUS-foundation.org/custodian shall have the right to appoint one, two or three new Members.<commit_msg>Add text change forms to constitution page.<commit_after>%h3 Constitution

%h4 Definitions & Membership
%ul.constitution
  %li
    %form{:action=>url(:action=>'propose_text_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'value'}
              Change the organisation's name to:
            %input{:name => 'value'}
            %input{:type => 'hidden', :name => 'name', :value => 'organisation_name'}
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    This is the constitution ("Constitution") of
    %span{:class=>'dynamic'}
      = @organisation_name
    ("The Organisation").  
  %li
    %form{:action=>url(:action=>'propose_text_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'value'}
              Change the organisation's objectives to:
            %textarea{:name => 'value'}
            %input{:type => 'hidden', :name => 'name', :value => 'objectives'}
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    The Organisation has the objectives of
    %span{:class=>'dynamic'}
      = @objectives
    ("Objectives").
  - if @assets
    %li The Organisation may hold, transfer and dispose of material assets and intangible assets. 
  %li The Organisation uses an electronic management system to automate clerical processes ("Management System"). 
  %li The Organisation has one or more members ("Members") who support its Objectives. 
  %li Each Member nominates an email address at which they will receive important notices from the Organisation ("Nominated Email Address"). 
  %li
    %form{:action=>url(:action=>'propose_text_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'value'}
              Change the organisation's name to:
            %input{:name => 'value'}
            %input{:type => 'hidden', :name => 'name', :value => 'domain'}
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    Members may access the Management System at the website
    = @website
  %li Members may view the current Constitution on the Management Systems. 
  %li Members may view a register of current Members together with their Nominated Email Addresses on the Management System. 
  %li Members may resign their membership via the Management System.

%h4 Proposals & Decisions
%ul.constitution
  %li Members may submit a proposal ("Proposal") on the Management System. 
  %li
    A Proposal may be voted on for a period of
    %span{:class=>'dynamic'}
      = @voting_period
    starting with its submission ("Voting Period").
  %li Members may view all current Proposals on the Management System. 
  %li Members may vote to support ("Supporting Vote") or vote to oppose ("Opposing Vote") a Proposal on the Management System during the Proposal's Voting Period. 
  %li Members may only vote on Proposals submitted during their membership of the Organisation. 
  %li All aspects of the Organisation's activity other than a change to the membership or an amendment to the constitution may be governed by a general decision ("General Decision"). 
  %li New Members may be appointed and existing Members may be ejected by a membership decision ("Membership Decision"). 
  %li The Constitution may be amended by a constitution decision ("Constitution Decision").
  %li
    %form{:action=>url(:action=>'propose_voting_system_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'general_voting_system'}
              Change the way General Decisions are made:
            %select{:name=>'general_voting_system'}
              - VotingSystems.all do |vs|
                %option{:value=>vs.simple_name}= vs.description
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    A General Decision is made when a Proposal that does not concern a change to the membership or an amendment to the Constitution
    %span{:class=>'dynamic'}
      = @general_voting_system
  %li
    %form{:action=>url(:action=>'propose_voting_system_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'membership_voting_system'}
              Change the way Membership Decisions are made:
            %select{:name=>'membership_voting_system'}
              - VotingSystems.all do |vs|
                %option{:value=>vs.simple_name}= vs.description
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    A Membership Decision is made when a Proposal concerning a change to the membership
    %span{:class=>'dynamic'}
      = @membership_voting_system
  %li
    %form{:action=>url(:action=>'propose_voting_system_amendment'), :method=>:post}
      %div.constitution_proposal
        %p.reveal_link
          %a{:href => '#'}
            Propose an amendment to this clause
        %div.proposal_form{:style => 'display: none;'}
          %p
            %label{:for => 'constitution_voting_system'}
              Change the way Constitution Decisions are made:
            %select{:name=>'constitution_voting_system'}
              - VotingSystems.all do |vs|
                %option{:value=>vs.simple_name}= vs.description
          %p
            = submit "Propose change", :id => 'submit'
          %p
            %a{:href => '#', :class => 'cancel_link'}
              Cancel
    A Constitution Decision is made when a Proposal concerning an amendment to the Constitution
    %span{:class=>'dynamic'}       
      = @constitution_voting_system
  %li Members may view all General Decisions, Membership Decisions and Constitution Decisions on the Management System.

/ %h4 Proxies
/ %ul.constitution
/   %li A Member may nominate another Member as their proxy (“Proxy Nomination”) on the Management System. In this case the Member assigning the proxy is the proxy giver (“Proxy Giver”) and the nominated Member is the proxy holder (“Proxy Holder”). 
/   %li On each occasion a Proxy Holder submits a Supporting Vote or Opposing Vote equivalent votes shall be submitted for all Proxy Givers by whom they are currently nominated. 
/   %li A Proxy Holder may in turn nominate another Member as their proxy. 
/   %li A Member may withdraw a Proxy Nomination at any time on the Management System. 

%h4 Failsafe Clauses 
%ul.constitution
  %li Should the Constitution be amended in such a way that an impasse arises any Member may submit a special proposal (“Reset Proposal”) to reset the Constitution to the default options for a General Decision, a Membership Decision and a Constitution Decision on the Management System.
  %li A Reset Proposal is enacted if it receives Supporting Votes from more than two thirds of Members during the Voting Period.
  %li Should the Management System become unavailable or defective such that it does not meet the requirements specified in the Constitution any Member may convene an emergency meeting (“Emergency Meeting”) by sending an email to all other Members at their Nominated Email Address stating a date and time at which the meeting shall commence.
  %li An Emergency Meeting shall not be scheduled to commence less than seven days after it is convened except with unanimous written consent of the Members.
  %li Should more than one Member send an email to convene an Emergency Meeting the one that was sent first shall have primacy.
  %li An Emergency Meeting may be conducted in person, by any form of synchronous electronic communication or by a combination thereof.
  %li At a duly convened Emergency Meeting the Members shall be able to make General Decisions on the basis described in the Constitution but stating “support” or “oppose” in place of the Management System.
  %li Should the number of Members become zero the Custodian of CIRCUS foundation as named on the website CIRCUS-foundation.org/custodian shall have the right to appoint one, two or three new Members.
{'fraction_non_alphanumeric': 0.0852078239608802, 'fraction_numerical': 0.0006112469437652812, 'mean_word_length': 2.986598440545809, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 120, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4320983', 'n_tokens_mistral': 4362, 'n_tokens_neox': 4177, 'n_words': 1816}