Sha256: a75b6068e72b9691ea0febaca071625bc4645efd54b87680349b64f9a40232a0

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

<%= form_for @banner_set, :url => path, :html => {:class => 'form-horizontal admin-banner-set-form'} do |f| %>

  <%= tb_form_errors(f.object) %>

  <fieldset>
    <div class="form-group">
      <%= f.label :name, "Name",:class => "col-lg-2 control-label" %>
      <div class="col-lg-10">
        <%= f.text_field :name, :class=>'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :width, "Width", :class => "col-lg-2 control-label" %>
      <div class="col-lg-10">
        <%= f.text_field :width, :class=>'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :height, "Height", :class => "col-lg-2 control-label" %>
      <div class="col-lg-10">
        <%= f.text_field :height, :class=>'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :cropped, "Cropped", :class => "col-lg-2 control-label" %>
      <div class="col-lg-10">
        <%= f.check_box :cropped %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :has_rich_text, "Allow Rich Text", :class => "col-lg-2 control-label" %>
      <div class="col-lg-10">
        <%= f.check_box :has_rich_text %>
      </div>
    </div>
  </fieldset>

<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tb_banners-1.3.2 app/views/admin/banner_sets/_form.html.erb
tb_banners-1.3.1 app/views/admin/banner_sets/_form.html.erb
tb_banners-1.3.beta1 app/views/admin/banner_sets/_form.html.erb
tb_banners-1.2.1 app/views/admin/banner_sets/_form.html.erb
tb_banners-1.2.0 app/views/admin/banner_sets/_form.html.erb
tb_banners-1.2.0.beta1 app/views/admin/banner_sets/_form.html.erb