Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:PartidoDeInternet/AgoraOnRails
- Loading branch information
Showing
38 changed files
with
360 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
<%= form_tag new_proposal_vote_path(@proposal), {:method => :get, :class => "vote"} do %> | |||
<fieldset> | |||
<strong><%= t :vote_proposal %></strong> | |||
<div> | |||
<%= label_tag :explanation, t(:explain) %><br/> | |||
<%= text_area_tag :explanation, nil, :size => "40x5" %> | |||
</div> | |||
<div> | |||
<%= label_tag :link, t(:optional_link) %><br/> | |||
<%= text_field_tag :link, nil, :size => "40" %> | |||
</div> | |||
<br/> | |||
<button type="submit" name="value" value="si" class="si"><span><%= t(:yes_option)%></span></button> | |||
<button type="submit" name="value" value="no" class="no"><span><%= t(:no_option)%></span></button> | |||
<button type="submit" name="value" value="abstencion" class="abstencion"><span><%= t(:abstention)%></span></button> | |||
</fieldset> | |||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,8 +1,8 @@ | |||
<%= form_tag proposal_path(@proposal), :method => :get do %> | <%= form_tag proposal_path(@proposal), :method => :get do %> | ||
<p>Calcula el voto de los representantes:</p> | <p><%= t :calculate_representatives_vote %></p> | ||
<p> | <p> | ||
<%= label_tag 'numero de representantes'%> | <%= label_tag t(:representatives_number)%> | ||
<%= text_field_tag 'representative_count' %> | <%= text_field_tag 'representative_count' %> | ||
</p> | </p> | ||
<%= submit_tag 'Calcular'%> | <%= submit_tag t(:calculate) %> | ||
<% end %> | <% end %> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.