diff options
Diffstat (limited to 'app/views/custom_fields/formats/_regexp.html.erb')
-rw-r--r-- | app/views/custom_fields/formats/_regexp.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/custom_fields/formats/_regexp.html.erb b/app/views/custom_fields/formats/_regexp.html.erb new file mode 100644 index 000000000..0b630347a --- /dev/null +++ b/app/views/custom_fields/formats/_regexp.html.erb @@ -0,0 +1,10 @@ +<p> + <label for="custom_field_min_length"><%=l(:label_min_max_length)%></label> + <%= f.text_field :min_length, :size => 5, :no_label => true %> - + <%= f.text_field :max_length, :size => 5, :no_label => true %> + <em class="info"><%= l(:text_min_max_length_info) %></em> +</p> +<p> + <%= f.text_field :regexp, :size => 50 %> + <em class="info"><%= l(:text_regexp_info) %></em> +</p> |