Skip to content

Commit

Permalink
Display join_characters in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Graeme Nathan committed Mar 29, 2018
1 parent 276df98 commit 2c56732
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<%= f.text_field :base_code, class: "fullwidth" %>
<% end %>

<%= f.field_container :join_characters do %>
<%= f.label :join_characters %>
<%= f.text_field :join_characters, class: "fullwidth" %>
<% end %>

<%= f.field_container :number_of_codes do %>
<%= f.label :number_of_codes %>
<%= f.text_field :number_of_codes, class: "fullwidth" %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
<%= batch.label :number_of_codes, class: "required" %>
<%= batch.number_field :number_of_codes, class: "fullwidth", min: 1, required: true %>
</div>
<div class="field">
<%= batch.label :join_characters %>
<%= batch.text_field :join_characters, class: "fullwidth" %>
</div>
<div class="field">
<%= f.label :per_code_usage_limit %>
<%= f.text_field :per_code_usage_limit, class: "fullwidth" %>
Expand Down

0 comments on commit 2c56732

Please sign in to comment.