输入框 和 ke对齐
This commit is contained in:
parent
92bc3361fe
commit
c1d82d6348
|
@ -1,18 +1,19 @@
|
||||||
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>
|
||||||
<li>
|
<li>
|
||||||
<label><span class="c_red">*</span> <%= l(:field_title) %> :</label>
|
<label style="float: left"><span class="c_red">*</span> <%= l(:field_title) %> :</label>
|
||||||
<input type="text" name="news[title]" class="hwork_input_news" id="news_title" width="576px" onblur="regexTitle();" maxlength="60" placeholder="60个字符以内" value="<%= is_new ? '' : @news.title %>">
|
<input type="text" name="news[title]" class="hwork_input_news fl" id="news_title" width="576px" onblur="regexTitle();" maxlength="60" placeholder="60个字符以内" value="<%= is_new ? '' : @news.title %>">
|
||||||
|
<div class="cl"></div>
|
||||||
<p id="title_notice_span" class="ml55"></p>
|
<p id="title_notice_span" class="ml55"></p>
|
||||||
</li>
|
</li>
|
||||||
<li class="mb10">
|
<li class="mb10">
|
||||||
<% if is_new %>
|
<% if is_new %>
|
||||||
<%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
|
<%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
|
||||||
<label class="fl" ><span class="c_red">*</span> <%= l(:field_description) %> :</label>
|
<label class="fl" ><span class="c_red">*</span> <%= l(:field_description) %> :</label>
|
||||||
<%= f.kindeditor :description,:width=>'91%',:editor_id=>'project_news_description_editor' %>
|
<%= f.kindeditor :description,:width=>'90%',:editor_id=>'project_news_description_editor' %>
|
||||||
<p id="description_notice_span" class="ml55"></p>
|
<p id="description_notice_span" class="ml55"></p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<label class="fl" ><span class="c_red">*</span> <%= l(:field_description) %> :</label>
|
<label class="fl" ><span class="c_red">*</span> <%= l(:field_description) %> :</label>
|
||||||
<%= f.kindeditor :description,:width=>'91%', :editor_id=>'project_news_description_editor', :owner_id => @news.id, :owner_type => OwnerTypeHelper::NEWS %>
|
<%= f.kindeditor :description,:width=>'90%', :editor_id=>'project_news_description_editor', :owner_id => @news.id, :owner_type => OwnerTypeHelper::NEWS %>
|
||||||
<p id="description_notice_span" class="ml55"></p>
|
<p id="description_notice_span" class="ml55"></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue